Explorar el Código

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

Fix Sync to PDF

GitOrigin-RevId: 8230242a6d915df6040d2913189821234c657bc5
Eric Mc Sween hace 7 años
padre
commit
a2baf4819b
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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
     })
 
-    $scope.syncToPdf = function() {
+    $scope.syncToPdf = () => {
       if (this.cursorPosition == null) {
         return
       }