mirror of
https://github.com/documize/community.git
synced 2025-07-21 14:19:43 +02:00
dispose of interact object
This commit is contained in:
parent
3329942d8a
commit
215f644d11
1 changed files with 5 additions and 0 deletions
|
@ -61,6 +61,11 @@ export default Component.extend(NotifierMixin, {
|
||||||
|
|
||||||
this.eventBus.unsubscribe('documentPageAdded');
|
this.eventBus.unsubscribe('documentPageAdded');
|
||||||
this.eventBus.unsubscribe('resized');
|
this.eventBus.unsubscribe('resized');
|
||||||
|
|
||||||
|
let t = '#doc-toc';
|
||||||
|
if (interact.isSet(t)) {
|
||||||
|
interact(t).unset();
|
||||||
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
onDocumentPageAdded(pageId) {
|
onDocumentPageAdded(pageId) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue