diff options
| author | Joyce Babu <[email protected]> | 2017-04-28 19:01:35 +0530 |
|---|---|---|
| committer | Johann-S <[email protected]> | 2017-04-28 15:31:35 +0200 |
| commit | db2db6cd0e654ddc3bfac5be5fbc93bf2bb3a674 (patch) | |
| tree | ef8182645827bb59b592cd0edc165c4ef5a85d35 /js/src/tab.js | |
| parent | f7f644a4e52a7e875d5c8574d2a8b7fd919e5005 (diff) | |
| download | bootstrap-db2db6cd0e654ddc3bfac5be5fbc93bf2bb3a674.tar.xz bootstrap-db2db6cd0e654ddc3bfac5be5fbc93bf2bb3a674.zip | |
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.js | 2 |
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 } |
