Browse Source

Fixes dimmer variation not working due to typo

pull/2034/head
jlukic 9 years ago
parent
commit
af76214036
2 changed files with 2 additions and 1 deletions
  1. 1
      RELEASE-NOTES.md
  2. 2
      src/definitions/modules/dimmer.js

1
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`

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

Loading…
Cancel
Save