diff options
| author | Johann-S <[email protected]> | 2020-11-20 11:13:11 +0100 |
|---|---|---|
| committer | XhmikosR <[email protected]> | 2020-11-29 20:58:26 +0200 |
| commit | 9eb9d02084dc914e614e8844e3ffdee4d0a25126 (patch) | |
| tree | 4c6722f81a9336921b85879aff41bc748ff12a2b /js/src/button.js | |
| parent | 51a208f119522f8618801a6e61ff8d47cf89d4cf (diff) | |
| download | bootstrap-9eb9d02084dc914e614e8844e3ffdee4d0a25126.tar.xz bootstrap-9eb9d02084dc914e614e8844e3ffdee4d0a25126.zip | |
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 2694e7b78..8b7c6c953 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) { |
