فهرست منبع

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

Fix outline "jump to location" feature.

GitOrigin-RevId: a760a885b997424bf677313636ac16588776b76a
Paulo Jorge Reis 6 سال پیش
والد
کامیت
e0dd4d0cf5
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      services/web/frontend/js/ide/outline/OutlineManager.js

+ 1 - 1
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()