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:
committed by
XhmikosR
parent
e866b1ae43
commit
6cfc78f2d9
@@ -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')
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user