A platform for community discussion. Free, open, simple.
DEV: Delete an old `appEvents.off` call (#14930)
Jarek Radoszb1c72282c904
diff --git a/app/assets/javascripts/discourse/app/components/composer-body.js b/app/assets/javascripts/discourse/app/components/composer-body.jsindex 3eb735066da..035da9505f1 100644--- a/app/assets/javascripts/discourse/app/components/composer-body.js+++ b/app/assets/javascripts/discourse/app/components/composer-body.js@@ -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);}