mirror of
https://github.com/discourse/discourse.git
synced 2024-11-26 02:40:53 -06:00
DEV: Correct method name in theme-errors-handler pre-initializer (#15501)
This commit is contained in:
parent
df7cda40b7
commit
b3aeedd653
@ -25,8 +25,8 @@ export default {
|
||||
document.addEventListener("discourse-error", this.handleDiscourseError);
|
||||
},
|
||||
|
||||
cleanup() {
|
||||
document.removeEventListener(this.handleDiscourseError);
|
||||
teardown() {
|
||||
document.removeEventListener("discourse-error", this.handleDiscourseError);
|
||||
delete this.currentUser;
|
||||
},
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user