Skip to content

Commit

Permalink
fix(modal): modal was not closable if opened by another modal for a s…
Browse files Browse the repository at this point in the history
…econd time
  • Loading branch information
lubber-de authored and Sean committed Feb 25, 2019
1 parent 1a5ff2c commit ff454ad
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/definitions/modules/modal.js
Original file line number Diff line number Diff line change
Expand Up @@ -401,6 +401,7 @@ $.fn.modal = function(parameters) {
module.hideOthers(module.showModal);
}
else {
ignoreRepeatedEvents = false;
if( settings.allowMultiple ) {
if ( module.others.active() ) {
$otherModals.filter('.' + className.active).find(selector.dimmer).addClass('active');
Expand Down

0 comments on commit ff454ad

Please sign in to comment.