Merge pull request #3019 from overleaf/pr-fix-outline-jump-to-location

Fix outline "jump to location" feature.

GitOrigin-RevId: a760a885b997424bf677313636ac16588776b76a
This commit is contained in:
Paulo Jorge Reis 2020-07-16 15:03:51 +01:00 committed by Copybot
parent ffc5c4be8f
commit e0dd4d0cf5

View file

@ -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()