mirror of
https://github.com/twbs/bootstrap.git
synced 2025-01-17 09:52:29 +01:00
Fix typo removeData for Tabs plugin
Should remove `data` not `class` on dispose
This commit is contained in:
parent
f7f644a4e5
commit
db2db6cd0e
@ -140,7 +140,7 @@ const Tab = (($) => {
|
||||
}
|
||||
|
||||
dispose() {
|
||||
$.removeClass(this._element, DATA_KEY)
|
||||
$.removeData(this._element, DATA_KEY)
|
||||
this._element = null
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user