speed up options window animation

10.3.x-maintenance
cTn 2014-09-04 09:33:13 +02:00
parent 3aa8d6aa71
commit 21065c8acb
1 changed files with 2 additions and 2 deletions

View File

@ -160,7 +160,7 @@ $(document).ready(function () {
if (e.type == 'click' && !$.contains($('div#options-window')[0], e.target) || e.type == 'keyup' && e.keyCode == 27) {
$(document).unbind('click keyup', close_and_cleanup);
$('div#options-window').slideUp(function () {
$('div#options-window').slideUp(250, function () {
el.removeClass('active');
$(this).empty().remove();
});
@ -169,7 +169,7 @@ $(document).ready(function () {
$(document).bind('click keyup', close_and_cleanup);
$(this).slideDown();
$(this).slideDown(250);
});
}
});