aboutsummaryrefslogtreecommitdiff
path: root/js/src
diff options
context:
space:
mode:
authorJoyce Babu <[email protected]>2017-04-28 19:01:35 +0530
committerJohann-S <[email protected]>2017-04-28 15:31:35 +0200
commitdb2db6cd0e654ddc3bfac5be5fbc93bf2bb3a674 (patch)
treeef8182645827bb59b592cd0edc165c4ef5a85d35 /js/src
parentf7f644a4e52a7e875d5c8574d2a8b7fd919e5005 (diff)
downloadbootstrap-db2db6cd0e654ddc3bfac5be5fbc93bf2bb3a674.tar.xz
bootstrap-db2db6cd0e654ddc3bfac5be5fbc93bf2bb3a674.zip
Fix typo removeData for Tabs plugin
Should remove `data` not `class` on dispose
Diffstat (limited to 'js/src')
-rw-r--r--js/src/tab.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/src/tab.js b/js/src/tab.js
index 6f8187d17..c7bc520df 100644
--- a/js/src/tab.js
+++ b/js/src/tab.js
@@ -140,7 +140,7 @@ const Tab = (($) => {
}
dispose() {
- $.removeClass(this._element, DATA_KEY)
+ $.removeData(this._element, DATA_KEY)
this._element = null
}