Skip to content

Commit 9173915

Browse files
committed
fix(LoadingButton): dispose calls an undefined method
1 parent f7624aa commit 9173915

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

js/src/loading-button.js

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -122,11 +122,6 @@ class LoadingButton extends BaseComponent {
122122
stoped()
123123
}
124124

125-
dispose() {
126-
Data.removeData(this._element, DATA_KEY)
127-
this._element = null
128-
}
129-
130125
_createButton() {
131126
this._element.classList.add(CLASS_NAME_LOADING_BUTTON)
132127
}

0 commit comments

Comments
 (0)