diff --git a/gui/app/components/document/document-toc.js b/gui/app/components/document/document-toc.js index a5382460..910614df 100644 --- a/gui/app/components/document/document-toc.js +++ b/gui/app/components/document/document-toc.js @@ -61,6 +61,11 @@ export default Component.extend(NotifierMixin, { this.eventBus.unsubscribe('documentPageAdded'); this.eventBus.unsubscribe('resized'); + + let t = '#doc-toc'; + if (interact.isSet(t)) { + interact(t).unset(); + } }, onDocumentPageAdded(pageId) {