mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-11 16:14:04 +02:00
Fix typo removeData for Tabs plugin
Should remove `data` not `class` on dispose
This commit is contained in:
@@ -140,7 +140,7 @@ const Tab = (($) => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
dispose() {
|
dispose() {
|
||||||
$.removeClass(this._element, DATA_KEY)
|
$.removeData(this._element, DATA_KEY)
|
||||||
this._element = null
|
this._element = null
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user