mirror of
https://github.com/twbs/bootstrap.git
synced 2022-11-09 12:25:43 -05:00
Fix typo removeData for Tabs plugin
Should remove `data` not `class` on dispose
This commit is contained in:
parent
f7f644a4e5
commit
db2db6cd0e
1 changed files with 1 additions and 1 deletions
|
@ -140,7 +140,7 @@ const Tab = (($) => {
|
|||
}
|
||||
|
||||
dispose() {
|
||||
$.removeClass(this._element, DATA_KEY)
|
||||
$.removeData(this._element, DATA_KEY)
|
||||
this._element = null
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue