1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-19 22:58:07 +02:00

Merge pull request #1123 from jwagner79/ie9console

define console for IE9 when debugging tools is not opened
This commit is contained in:
notmasteryet 2012-01-24 16:31:38 -08:00
commit fbe3b51a4d

View file

@ -224,3 +224,10 @@
}
});
})();
// Check console compatability
(function checkConsoleCompatibility() {
if (typeof console == 'undefined') {
console = {log: function() {}};
}
})();