Skip to content

Commit

Permalink
fix(modal): dont close dimmer when another modal is still animating
Browse files Browse the repository at this point in the history
  • Loading branch information
lubber-de authored and Sean committed Apr 5, 2019
1 parent 124625c commit 58cf41a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/definitions/modules/modal.js
Original file line number Diff line number Diff line change
Expand Up @@ -472,7 +472,7 @@ $.fn.modal = function(parameters) {
duration : settings.duration,
useFailSafe : true,
onStart : function() {
if(!module.others.active() && !keepDimmed) {
if(!module.others.active() && !module.others.animating() && !keepDimmed) {
module.hideDimmer();
}
if( settings.keyboardShortcuts && !module.others.active() ) {
Expand Down

0 comments on commit 58cf41a

Please sign in to comment.