mirror of
https://github.com/atom/atom.git
synced 2026-01-24 06:18:03 -05:00
speed up the modal display.
This commit is contained in:
@@ -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()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user