From abc5ecffd7f05b86a6286188cff0d38bfe17e4dd Mon Sep 17 00:00:00 2001 From: Chris Wanstrath Date: Sat, 26 Nov 2011 01:09:46 -0800 Subject: [PATCH] speed up the modal display. --- src/atom/modal.coffee | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/atom/modal.coffee b/src/atom/modal.coffee index 8921e614b..e1b0d1d08 100644 --- a/src/atom/modal.coffee +++ b/src/atom/modal.coffee @@ -38,10 +38,10 @@ class Modal $('#modal .content').append @html $('#modal-overlay') - .css('opacity', 0.2) + .css('opacity', 0) .click(=> @hide()) - .fadeIn 200, => - $('#modal').fadeIn(200) + .fadeIn 10, => + $('#modal').show() $('#modal input').focus() @resize()