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

define console for IE9 when debugging tools is not opened

This commit is contained in:
Jeff Wagner 2012-01-24 12:19:52 -08:00
parent 67769f3741
commit 19622406da

View file

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