Fix linting error
This commit is contained in:
parent
eef41d2cd7
commit
bde0b9768e
@ -234,7 +234,14 @@ export default Component.extend(ShortcutsMixin, {
|
||||
},
|
||||
|
||||
willDestroyElement() {
|
||||
if (this.get('_isSplitScreen')) {
|
||||
this._disconnectSplitPreview();
|
||||
}
|
||||
|
||||
this.removeShortcuts();
|
||||
|
||||
this._super(...arguments);
|
||||
|
||||
if (this._preventBodyScrollId) {
|
||||
window.cancelAnimationFrame(this._preventBodyScrollId);
|
||||
}
|
||||
@ -476,16 +483,6 @@ export default Component.extend(ShortcutsMixin, {
|
||||
);
|
||||
},
|
||||
|
||||
willDestroyElement() {
|
||||
if (this.get('_isSplitScreen')) {
|
||||
this._disconnectSplitPreview();
|
||||
}
|
||||
|
||||
this.removeShortcuts();
|
||||
|
||||
this._super(...arguments);
|
||||
},
|
||||
|
||||
actions: {
|
||||
// put the markdown into a new mobiledoc card, trigger external update
|
||||
updateMarkdown(markdown) {
|
||||
|
Loading…
Reference in New Issue
Block a user