From af76214036fe14e3d3c0c193f62fed6c223e4bee Mon Sep 17 00:00:00 2001 From: jlukic Date: Tue, 17 Mar 2015 11:30:53 -0400 Subject: [PATCH] Fixes dimmer variation not working due to typo --- RELEASE-NOTES.md | 1 + src/definitions/modules/dimmer.js | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/RELEASE-NOTES.md b/RELEASE-NOTES.md index 50210830e..f36e7f0a5 100644 --- a/RELEASE-NOTES.md +++ b/RELEASE-NOTES.md @@ -44,6 +44,7 @@ - **Card** - Fix card dimmer not appearing in minified release due to use of background shorthand property - **Checkbox** - Fix `disabled checkbox` sometimes displaying hand cursor - **Checkbox** - Fixes nested `dropdown` inside `checkbox` causing issues +- **Dimmer** - Fixed `variation` setting not working correctly - **Dropdown** - Fix bug where `onChange` would call even when reselecting current value - **Dropdown** - Fixes issue with headers disappearing inside of `ui dropdown` when nested in `ui menu` - **Form** - Form sizes and input sizes now inherit from `site.variables` diff --git a/src/definitions/modules/dimmer.js b/src/definitions/modules/dimmer.js index 50d81b6a6..dc89afa62 100644 --- a/src/definitions/modules/dimmer.js +++ b/src/definitions/modules/dimmer.js @@ -154,7 +154,7 @@ $.fn.dimmer = function(parameters) { ; if(settings.variation) { module.debug('Creating dimmer with variation', settings.variation); - $element.addClass(className.variation); + $element.addClass(settings.variation); } if(settings.dimmerName) { module.debug('Creating named dimmer', settings.dimmerName);