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