Просмотр исходного кода

Merge pull request #2305 from overleaf/em-synctex-fix

Fix Sync to PDF

GitOrigin-RevId: 8230242a6d915df6040d2913189821234c657bc5
Eric Mc Sween 7 лет назад
Родитель
Сommit
a2baf4819b
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      services/web/public/src/ide/pdf/controllers/PdfController.js

+ 1 - 1
services/web/public/src/ide/pdf/controllers/PdfController.js

@@ -977,7 +977,7 @@ define([
       this.cursorPosition = cursorPosition
       this.cursorPosition = cursorPosition
     })
     })
 
 
-    $scope.syncToPdf = function() {
+    $scope.syncToPdf = () => {
       if (this.cursorPosition == null) {
       if (this.cursorPosition == null) {
         return
         return
       }
       }