sq0a3q
Last Updated: February 25, 2016
·
577
· even_lesss

IE 7 js doesnt work

Have you been wondering, why js is not working on ie 7 when everywhere else it does? Well, remove from your js code:
console.log(); </code>

2 Responses
Add your response

3960

Or add if (!window.console) console = {log: function() {}} at the top.

over 1 year ago ·
3982

@finnpauls I use a small script int he top that's if(!window.console){var i=function(){},console={log:i,dir:i}); cause I use both console.log and console.dir sometimes.

over 1 year ago ·