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>
Written by Stanislav Gurnik
Related protips
2 Responses
Or add if (!window.console) console = {log: function() {}}
at the top.
over 1 year ago
·
@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
·
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Js
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#