Browse Source

Merge pull request #1123 from jwagner79/ie9console

define console for IE9 when debugging tools is not opened
notmasteryet 13 years ago
parent
commit
fbe3b51a4d
  1. 7
      web/compatibility.js

7
web/compatibility.js

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

Loading…
Cancel
Save