From: Joyce Babu Date: Fri, 28 Apr 2017 13:31:35 +0000 (+0530) Subject: Fix typo removeData for Tabs plugin X-Git-Tag: v4.0.0-beta~166^2~71 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=db2db6cd0e654ddc3bfac5be5fbc93bf2bb3a674;p=thirdparty%2Fbootstrap.git Fix typo removeData for Tabs plugin Should remove `data` not `class` on dispose --- 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 }