diff --git a/src/definitions/modules/modal.js b/src/definitions/modules/modal.js index 783af87bc..30a0bcd9e 100644 --- a/src/definitions/modules/modal.js +++ b/src/definitions/modules/modal.js @@ -356,7 +356,7 @@ $.fn.modal = function(parameters) { }, hideDimmer: function() { - if( $dimmable.dimmer('is animating') || !($dimmable.dimmer('is active')) ) { + if( $dimmable.dimmer('is animating') || ($dimmable.dimmer('is active')) ) { module.debug('Dimmer is not visible cannot hide'); return; }