From 92b0c1b8ccbfdf6ab71679ed03f02a701713a641 Mon Sep 17 00:00:00 2001 From: Andrey Kuvshinov Date: Wed, 29 Apr 2020 09:52:03 +0300 Subject: [PATCH] anviewer ver 12 --- app/pub/scripts/anviewer.js | 5 +++-- app/views/layout.phtml | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/app/pub/scripts/anviewer.js b/app/pub/scripts/anviewer.js index 0ed9939..90a25f3 100644 --- a/app/pub/scripts/anviewer.js +++ b/app/pub/scripts/anviewer.js @@ -32,9 +32,10 @@ function renderPage() { // New page rendering is pending renderPage(pageNumPending); pageNumPending = null; - document.getElementById('zoompdf').innerHTML = scale + 'x'; - el_title.innerHTML = 'Приятного чтения ↓'; + } + document.getElementById('zoompdf').innerHTML = scale + 'x'; + el_title.innerHTML = 'Приятного чтения ↓'; }); }); diff --git a/app/views/layout.phtml b/app/views/layout.phtml index 6955773..d5e3ac1 100644 --- a/app/views/layout.phtml +++ b/app/views/layout.phtml @@ -2,7 +2,7 @@ Еженедельник Аргументы Недели - <?=$title?> - +