0
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-01-17 09:52:29 +01: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() {
$.removeClass(this._element, DATA_KEY)
$.removeData(this._element, DATA_KEY)
this._element = null
}