diff --git a/gui/app/components/document/document-toc.js b/gui/app/components/document/document-toc.js index 89d2f56a..7ba3c421 100644 --- a/gui/app/components/document/document-toc.js +++ b/gui/app/components/document/document-toc.js @@ -251,7 +251,6 @@ export default Component.extend({ if (id !== '') { let jumpTo = "#page-" + id; this.set('tab', 'content'); - if (!$(jumpTo).inView()) { $(jumpTo).velocity("scroll", { duration: 250, offset: -100 }); }