Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoyce Babu <joyce@ennexa.com>2017-04-28 16:31:35 +0300
committerJohann-S <johann.servoire@gmail.com>2017-04-28 16:31:35 +0300
commitdb2db6cd0e654ddc3bfac5be5fbc93bf2bb3a674 (patch)
treeef8182645827bb59b592cd0edc165c4ef5a85d35 /js/src/tab.js
parentf7f644a4e52a7e875d5c8574d2a8b7fd919e5005 (diff)
Fix typo removeData for Tabs plugin
Should remove `data` not `class` on dispose
Diffstat (limited to 'js/src/tab.js')
-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 6f8187d170..c7bc520df6 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
}