mirror of
https://github.com/tenrok/bootstrap.git
synced 2026-06-11 18:02:28 +03:00
add dispose in base component
This commit is contained in:
+1
-2
@@ -165,9 +165,8 @@ class Toast extends BaseComponent {
|
||||
}
|
||||
|
||||
EventHandler.off(this._element, EVENT_CLICK_DISMISS)
|
||||
Data.removeData(this._element, DATA_KEY)
|
||||
|
||||
this._element = null
|
||||
super.dispose()
|
||||
this._config = null
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user