diff --git a/app/pub/scripts/anviewer.js b/app/pub/scripts/anviewer.js index 04ee648..429ddbb 100644 --- a/app/pub/scripts/anviewer.js +++ b/app/pub/scripts/anviewer.js @@ -142,7 +142,7 @@ function startpdfviewer(newpdf){ currpdf = getzoom('currpdf'); - if (currpdf !== null & currpdf !== newpdf){ + if (currpdf !== null & currpdf == newpdf){ czoom = getzoom('pdfscale'); diff --git a/app/views/anpdf2.phtml b/app/views/anpdf2.phtml index 198c652..af06371 100644 --- a/app/views/anpdf2.phtml +++ b/app/views/anpdf2.phtml @@ -6,6 +6,7 @@ pageRendering = false, pageNumPending = null, nexturl = '', + hash = '', prevurl = ''; @@ -41,7 +42,7 @@
Идет обращение к серверу...
- +
diff --git a/app/views/layout.phtml b/app/views/layout.phtml index d2e6541..b1c310c 100644 --- a/app/views/layout.phtml +++ b/app/views/layout.phtml @@ -2,7 +2,7 @@ Еженедельник Аргументы Недели - <?=$title?> - +