Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

IE8 Javascript doesnt run unless Developer Tools is open?

For some reason, in IE8, javascript is not running unless I reload the page with Developer Tools open. I close developer tools and reload the page and the javascript stops working. I'm not getting any error reports (not that they'd be any use anyway).

Anyone else had this problem?

like image 787
Joel Avatar asked Nov 09 '09 15:11

Joel


1 Answers

Often that's because you left a console.log call in your script. This only works when a debugger is present. You should get a JS error on trying to use it unless you have them turned off.

like image 129
bobince Avatar answered Oct 01 '22 22:10

bobince