Browse Source

Remove fallback js animations from modal

pull/2308/head
jlukic 9 years ago
parent
commit
6a76302ce5
1 changed files with 2 additions and 22 deletions
  1. 24
      src/definitions/modules/modal.js

24
src/definitions/modules/modal.js

@ -349,16 +349,7 @@ $.fn.modal = function(parameters) {
;
}
else {
module.debug('Showing modal with javascript');
$module
.fadeIn(settings.duration, settings.easing, function() {
settings.onVisible.apply(element);
module.add.keyboardShortcuts();
module.save.focus();
module.set.active();
callback();
})
;
module.error(error.noTransition);
}
}
}
@ -400,18 +391,7 @@ $.fn.modal = function(parameters) {
;
}
else {
module.remove.active();
if( !module.othersActive() ) {
module.hideDimmer();
}
module.remove.keyboardShortcuts();
$module
.fadeOut(settings.duration, settings.easing, function() {
settings.onHidden.call(element);
module.restore.focus();
callback();
})
;
module.error(error.noTransition);
}
}
},

Loading…
Cancel
Save