1
0
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:
Joyce Babu
2017-04-28 19:01:35 +05:30
committed by Johann-S
parent f7f644a4e5
commit db2db6cd0e

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
} }