version 3 in anpdf
This commit is contained in:
@@ -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;">
|
||||||
|
|||||||
@@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user