I have found that Internet Explorer 9 has some problems when you want to use console.log in your sites.
If you have for example:
Code:
then in IE9 without the Developer Tools open it will throw an exception (but you will not be able to see it because the Developer tools is not opened).
This happens because IE does not find the console object.
There is a small fix for this - you have to
put in a common javascript file an override for console if it doesn't exist. Here is the "magic" code:
Code:
Good luck.
No comments:
Post a Comment
your thoughts are welcome: