|
@@ -1481,7 +1481,7 @@
|
|
|
if (!_app_options.AppOptions.get("pdfBugEnabled")) {
|
|
|
return;
|
|
|
}
|
|
|
- const hash = document.location.hash.substring(1);
|
|
|
+ var hash = document.location.hash.substring(1);
|
|
|
if (!hash) {
|
|
|
return;
|
|
|
}
|
|
@@ -3047,7 +3047,7 @@
|
|
|
pdfViewer.update();
|
|
|
}
|
|
|
function webViewerHashchange(evt) {
|
|
|
- const hash = evt.hash;
|
|
|
+ var hash = evt.hash;
|
|
|
if (!hash) {
|
|
|
return;
|
|
|
}
|
|
@@ -5809,7 +5809,7 @@
|
|
|
return;
|
|
|
}
|
|
|
}
|
|
|
- const hash = namedDest || JSON.stringify(explicitDest);
|
|
|
+ var hash = namedDest || JSON.stringify(explicitDest);
|
|
|
if (!hash) {
|
|
|
return;
|
|
|
}
|
|
@@ -5991,7 +5991,7 @@
|
|
|
this._numPositionUpdates = 0;
|
|
|
}
|
|
|
_parseCurrentHash(checkNameddest = false) {
|
|
|
- const hash = unescape(getCurrentHash()).substring(1);
|
|
|
+ var hash = unescape(getCurrentHash()).substring(1);
|
|
|
const params = (0, _ui_utils.parseQueryString)(hash);
|
|
|
const nameddest = params.get("nameddest") || "";
|
|
|
let page = params.get("page") | 0;
|