From 2ca441438dfde9a91990f0447bfcc74ff6991d11 Mon Sep 17 00:00:00 2001 From: Kevin Ansfield Date: Thu, 1 Feb 2018 18:29:33 +0100 Subject: [PATCH] Koenig - Fix plus menu teardown but no issue - fixed typo that was throwing an error on `willDestroyElement` of `{{koenig-plus-menu}}` --- .../lib/koenig-editor/addon/components/koenig-plus-menu.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ghost/admin/lib/koenig-editor/addon/components/koenig-plus-menu.js b/ghost/admin/lib/koenig-editor/addon/components/koenig-plus-menu.js index d8adeacb2a..480bf7d6a9 100644 --- a/ghost/admin/lib/koenig-editor/addon/components/koenig-plus-menu.js +++ b/ghost/admin/lib/koenig-editor/addon/components/koenig-plus-menu.js @@ -62,7 +62,7 @@ export default Component.extend({ this._super(...arguments); run.cancel(this._throttleResize); window.removeEventListener('mousedown', this._onWindowMousedownHandler); - window.removeEventListener('resize', this.this._onResizeHandler); + window.removeEventListener('resize', this._onResizeHandler); }, actions: {