diff --git a/app/assets/javascripts/discourse/components/d-editor-modal.js.es6 b/app/assets/javascripts/discourse/components/d-editor-modal.js.es6 index 0b6f6920a64..049914fe2c8 100644 --- a/app/assets/javascripts/discourse/components/d-editor-modal.js.es6 +++ b/app/assets/javascripts/discourse/components/d-editor-modal.js.es6 @@ -34,7 +34,7 @@ export default Ember.Component.extend({ }); }, - @on('willDestoryElement') + @on('willDestroyElement') _stopListening() { this.$().off('keydown.d-modal'); },