diff --git a/js/src/tab.js b/js/src/tab.js
index 6f8187d17073b9f93a5cfddc10fcf5c4e33330ff..c7bc520df68e9340942662651878377028278b0d 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
     }