Browse Source

Reuse some code

flex-list
jlukic 9 years ago
parent
commit
c6b47c7a0f
1 changed files with 1 additions and 2 deletions
  1. 3
      src/definitions/modules/modal.js

3
src/definitions/modules/modal.js

@ -322,8 +322,7 @@ $.fn.modal = function(parameters) {
module.set.type();
module.set.clickaway();
if( !settings.allowMultiple && $otherModals.filter('.' + className.active).length > 0) {
module.debug('Other modals visible, queueing show animation');
if( !settings.allowMultiple && module.others.active() ) {
module.hideOthers(module.showModal);
}
else {

Loading…
Cancel
Save