mirror of
https://github.com/discourse/discourse.git
synced 2025-01-18 21:12:45 +08:00
DEV: Delete an old appEvents.off
call (#14930)
There's no `composer:resize` anymore.
This commit is contained in:
parent
a817ee9f7c
commit
b1c72282c9
|
@ -207,7 +207,6 @@ export default Component.extend(KeyEnterEscape, {
|
|||
|
||||
willDestroyElement() {
|
||||
this._super(...arguments);
|
||||
this.appEvents.off("composer:resize", this, this.resize);
|
||||
if (this._visualViewportResizing()) {
|
||||
window.visualViewport.removeEventListener("resize", this.viewportResize);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user