From 42435f692522cfd1dab6f71678c76f695dec941f Mon Sep 17 00:00:00 2001 From: jlukic Date: Thu, 16 Apr 2015 15:23:16 -0400 Subject: [PATCH] Fix dimmer init issue --- src/definitions/modules/dimmer.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/definitions/modules/dimmer.js b/src/definitions/modules/dimmer.js index b1e08d24a..e97043868 100644 --- a/src/definitions/modules/dimmer.js +++ b/src/definitions/modules/dimmer.js @@ -59,7 +59,9 @@ $.fn.dimmer = function(parameters) { module = { preinitialize: function() { + console.log($module, module.is.dimmer()); if( module.is.dimmer() ) { + $dimmable = $module.parent(); $dimmer = $module; } @@ -643,7 +645,7 @@ $.fn.dimmer.settings = { animating : 'animating', dimmable : 'dimmable', dimmed : 'dimmed', - dimmer : 'ui dimmer', + dimmer : 'dimmer', disabled : 'disabled', hide : 'hide', pageDimmer : 'page',