mirror of
https://github.com/overleaf/overleaf.git
synced 2025-02-21 14:31:52 +00:00
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:
parent
ffc5c4be8f
commit
e0dd4d0cf5
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@ class OutlineManager {
|
||||||
this.outline = []
|
this.outline = []
|
||||||
|
|
||||||
scope.$on('doc:after-opened', () => {
|
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.isTexFile = isValidTeXFile(scope.editor.open_doc_name)
|
||||||
this.updateOutline()
|
this.updateOutline()
|
||||||
this.broadcastChangeEvent()
|
this.broadcastChangeEvent()
|
||||||
|
|
Loading…
Reference in a new issue