From 20316e73c4d73a8ed53f83085fdd62ef37847758 Mon Sep 17 00:00:00 2001 From: jlukic Date: Tue, 16 Dec 2014 14:45:51 -0500 Subject: [PATCH] Wrong boolean #1432 #1417 --- src/definitions/modules/modal.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }