diff options
Diffstat (limited to 'js/src/button.js')
-rw-r--r-- | js/src/button.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/js/src/button.js b/js/src/button.js index 410da06cb3..acba736af4 100644 --- a/js/src/button.js +++ b/js/src/button.js @@ -7,6 +7,7 @@ import Data from './dom/data' import EventHandler from './dom/eventHandler' +import Manipulator from './dom/manipulator' import SelectorEngine from './dom/selectorEngine' /** @@ -93,7 +94,7 @@ class Button { rootElement.classList.contains('disabled')) { return } - input.checked = !this._element.classList.contains(ClassName.ACTIVE) + Manipulator.setChecked(input, !this._element.classList.contains(ClassName.ACTIVE)) EventHandler.trigger(input, 'change') } |