mirror of
https://github.com/discourse/discourse.git
synced 2025-01-19 03:22:46 +08:00
FIX: a never created listener was removed (#12469)
This commit is contained in:
parent
c3e76da90a
commit
2b5046af19
|
@ -280,7 +280,7 @@ const SiteHeaderComponent = MountWidget.extend(
|
|||
|
||||
willDestroyElement() {
|
||||
this._super(...arguments);
|
||||
$("body").off("keydown.header");
|
||||
|
||||
$(window).off("resize.discourse-menu-panel");
|
||||
|
||||
this.appEvents.off("header:show-topic", this, "setTopic");
|
||||
|
|
Loading…
Reference in New Issue
Block a user