diff --git a/services/web/public/coffee/ide/pdfng/directives/pdfViewer.coffee b/services/web/public/coffee/ide/pdfng/directives/pdfViewer.coffee index 36b58f9e54..6b6aaff2d5 100644 --- a/services/web/public/coffee/ide/pdfng/directives/pdfViewer.coffee +++ b/services/web/public/coffee/ide/pdfng/directives/pdfViewer.coffee @@ -257,7 +257,7 @@ define [ # console.log 'layoutReady was resolved' renderVisiblePages = () -> - pages = getVisiblePages() + visiblePages = getVisiblePages() pages = getExtraPages visiblePages scope.document.renderPages(pages)