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);