mirror of
https://github.com/tenrok/bootstrap.git
synced 2026-05-15 11:59:39 +03:00
Fix typo removeData for Tabs plugin
Should remove `data` not `class` on dispose
This commit is contained in:
+1
-1
@@ -140,7 +140,7 @@ const Tab = (($) => {
|
||||
}
|
||||
|
||||
dispose() {
|
||||
$.removeClass(this._element, DATA_KEY)
|
||||
$.removeData(this._element, DATA_KEY)
|
||||
this._element = null
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user