speed up the modal display.

This commit is contained in:
Chris Wanstrath
2011-11-26 01:09:46 -08:00
parent aa10aa298c
commit abc5ecffd7

View File

@@ -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()