From a2baf4819bae16b41e8b2e88fcaea0393703f32a Mon Sep 17 00:00:00 2001 From: Eric Mc Sween Date: Tue, 29 Oct 2019 10:09:20 -0400 Subject: [PATCH] Merge pull request #2305 from overleaf/em-synctex-fix Fix Sync to PDF GitOrigin-RevId: 8230242a6d915df6040d2913189821234c657bc5 --- services/web/public/src/ide/pdf/controllers/PdfController.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/web/public/src/ide/pdf/controllers/PdfController.js b/services/web/public/src/ide/pdf/controllers/PdfController.js index a27f14f2ee..026276d735 100644 --- a/services/web/public/src/ide/pdf/controllers/PdfController.js +++ b/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 }