mirror of
https://github.com/zen-browser/pdf.js.git
synced 2025-07-10 10:15:37 +02:00
Merge pull request #1123 from jwagner79/ie9console
define console for IE9 when debugging tools is not opened
This commit is contained in:
commit
fbe3b51a4d
1 changed files with 7 additions and 0 deletions
|
@ -224,3 +224,10 @@
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
})();
|
})();
|
||||||
|
|
||||||
|
// Check console compatability
|
||||||
|
(function checkConsoleCompatibility() {
|
||||||
|
if (typeof console == 'undefined') {
|
||||||
|
console = {log: function() {}};
|
||||||
|
}
|
||||||
|
})();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue