From e0dd4d0cf5a16f4c613c981776454e139d60050d Mon Sep 17 00:00:00 2001 From: Paulo Jorge Reis Date: Thu, 16 Jul 2020 15:03:51 +0100 Subject: [PATCH] Merge pull request #3019 from overleaf/pr-fix-outline-jump-to-location Fix outline "jump to location" feature. GitOrigin-RevId: a760a885b997424bf677313636ac16588776b76a --- services/web/frontend/js/ide/outline/OutlineManager.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/web/frontend/js/ide/outline/OutlineManager.js b/services/web/frontend/js/ide/outline/OutlineManager.js index 7a987be1fb..7804aa7d8d 100644 --- a/services/web/frontend/js/ide/outline/OutlineManager.js +++ b/services/web/frontend/js/ide/outline/OutlineManager.js @@ -15,7 +15,7 @@ class OutlineManager { this.outline = [] scope.$on('doc:after-opened', () => { - this.shareJsDoc = scope.editor.shareJsDoc + this.shareJsDoc = scope.editor.sharejs_doc this.isTexFile = isValidTeXFile(scope.editor.open_doc_name) this.updateOutline() this.broadcastChangeEvent()