diff --git a/web/compatibility.js b/web/compatibility.js index 76f248e77..b15709c00 100644 --- a/web/compatibility.js +++ b/web/compatibility.js @@ -449,9 +449,7 @@ return; } document.addEventListener('DOMContentLoaded', function (e) { - if (isSafari) { - console.warn('Range requests are disabled for safari.'); - PDFJS.disableRange = true; - } - }); + console.warn('Range requests are disabled for safari.'); + PDFJS.disableRange = true; + }, true); })();