mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-19 22:58:07 +02:00
Merge pull request #3459 from Rob--W/define-URL
Always declare window.URL even if undefined
This commit is contained in:
commit
a50501c43a
1 changed files with 1 additions and 1 deletions
|
@ -94,7 +94,7 @@ if (typeof PDFJS === 'undefined') {
|
|||
|
||||
// URL = URL || webkitURL
|
||||
(function normalizeURLObject() {
|
||||
if (!window.URL && window.webkitURL) {
|
||||
if (!window.URL) {
|
||||
window.URL = window.webkitURL;
|
||||
}
|
||||
})();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue