2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-05 16:42:29 +03:00

Fix typo removeData for Tabs plugin

Should remove `data` not `class` on dispose
This commit is contained in:
Joyce Babu
2017-04-28 19:01:35 +05:30
committed by Johann-S
parent f7f644a4e5
commit db2db6cd0e
+1 -1
View File
@@ -140,7 +140,7 @@ const Tab = (($) => {
} }
dispose() { dispose() {
$.removeClass(this._element, DATA_KEY) $.removeData(this._element, DATA_KEY)
this._element = null this._element = null
} }