DEV: Delete an old appEvents.off call (#14930)

There's no `composer:resize` anymore.
This commit is contained in:
Jarek Radosz 2021-11-15 02:38:10 +01:00 committed by GitHub
parent a817ee9f7c
commit b1c72282c9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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);
}