diff --git a/services/web/frontend/js/features/outline/outline-manager.js b/services/web/frontend/js/features/outline/outline-manager.js index cde836fed2..4b9fc0cd37 100644 --- a/services/web/frontend/js/features/outline/outline-manager.js +++ b/services/web/frontend/js/features/outline/outline-manager.js @@ -31,12 +31,6 @@ class OutlineManager { this.broadcastChangeEvent() }) - scope.$watch('openFile.name', openFileName => { - this.isTexFile = isValidTeXFile(openFileName) - this.updateOutline() - this.broadcastChangeEvent() - }) - scope.$on('doc:changed', () => { this.updateOutline() this.broadcastChangeEvent()