diff options
author | Johann-S <johann.servoire@gmail.com> | 2020-11-20 13:13:11 +0300 |
---|---|---|
committer | XhmikosR <xhmikosr@gmail.com> | 2020-11-29 21:58:26 +0300 |
commit | 9eb9d02084dc914e614e8844e3ffdee4d0a25126 (patch) | |
tree | 4c6722f81a9336921b85879aff41bc748ff12a2b /js/src/button.js | |
parent | 51a208f119522f8618801a6e61ff8d47cf89d4cf (diff) |
add dispose in base component
Diffstat (limited to 'js/src/button.js')
-rw-r--r-- | js/src/button.js | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/js/src/button.js b/js/src/button.js index 2694e7b786..8b7c6c953c 100644 --- a/js/src/button.js +++ b/js/src/button.js @@ -52,11 +52,6 @@ class Button extends BaseComponent { this._element.setAttribute('aria-pressed', this._element.classList.toggle(CLASS_NAME_ACTIVE)) } - dispose() { - Data.removeData(this._element, DATA_KEY) - this._element = null - } - // Static static jQueryInterface(config) { |