1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-09-27 22:09:04 +02:00

Remove IE support and button bsChecked hack

This commit is contained in:
Alessandro Chitolina
2018-09-25 20:06:09 +02:00
committed by XhmikosR
parent e866b1ae43
commit 6cfc78f2d9
8 changed files with 8 additions and 133 deletions

View File

@@ -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')
}