version 3 in anpdf

This commit is contained in:
Andrey Kuvshinov
2020-04-08 20:53:18 +03:00
parent e258a8dd82
commit 367f149bc6
2 changed files with 3 additions and 3 deletions

View File

@@ -2,7 +2,7 @@
<head> <head>
<title>Еженедельник Аргументы Недели - <?=$title?></title> <title>Еженедельник Аргументы Недели - <?=$title?></title>
<script src="/pub/scripts/pdf.min.js"></script> <script src="/pub/scripts/pdf.min.js"></script>
<script src="/pub/scripts/anviewer.js?ver=1"></script> <script src="/pub/scripts/anviewer.js?ver=3"></script>
<link rel="icon" type="image/ico" href="https://argumenti.ru/favicon.ico"> <link rel="icon" type="image/ico" href="https://argumenti.ru/favicon.ico">
</head> </head>
<body style="width: 87%;margin: 0px auto;margin-top: 2%;background: #f5f5f5;"> <body style="width: 87%;margin: 0px auto;margin-top: 2%;background: #f5f5f5;">

View File

@@ -37,10 +37,10 @@ function renderPage() {
document.getElementById('pdfprogress').innerHTML = 'Приятного чтения ↓'; document.getElementById('pdfprogress').innerHTML = 'Приятного чтения ↓';
if (typeof prevlink !== 'undefined') if (typeof prevlink !== 'undefined')
document.getElementById('prevbutton').setAttribute("href", prevlink + '/'+ scale); document.getElementById('prevbutton').href = prevlink + '/'+ scale;
if (typeof nextlink !== 'undefined') if (typeof nextlink !== 'undefined')
document.getElementById('nextbutton').setAttribute("href", nextlink + '/'+ scale); document.getElementById('nextbutton').href = nextlink + '/'+ scale;
} }