Browse Source

Fix dimmer init issue

pull/2169/head
jlukic 9 years ago
parent
commit
42435f6925
1 changed files with 3 additions and 1 deletions
  1. 4
      src/definitions/modules/dimmer.js

4
src/definitions/modules/dimmer.js

@ -59,7 +59,9 @@ $.fn.dimmer = function(parameters) {
module = { module = {
preinitialize: function() { preinitialize: function() {
console.log($module, module.is.dimmer());
if( module.is.dimmer() ) { if( module.is.dimmer() ) {
$dimmable = $module.parent(); $dimmable = $module.parent();
$dimmer = $module; $dimmer = $module;
} }
@ -643,7 +645,7 @@ $.fn.dimmer.settings = {
animating : 'animating', animating : 'animating',
dimmable : 'dimmable', dimmable : 'dimmable',
dimmed : 'dimmed', dimmed : 'dimmed',
dimmer : 'ui dimmer',
dimmer : 'dimmer',
disabled : 'disabled', disabled : 'disabled',
hide : 'hide', hide : 'hide',
pageDimmer : 'page', pageDimmer : 'page',

Loading…
Cancel
Save