Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Javascript hangs in IE unless in debug mode

I'm building web a javascript application using jquery, knockoutjs and less (for css).

Works fine in all browsers, except IE 9 (only tried IE 9).

It simply never starts. Nothing from the templates are shown. Unless i press F12 for debug and refresh. Then everything works fine, also works if I close the debug window and refresh. Right until next IE restart.

like image 346
zneo Avatar asked Aug 21 '26 14:08

zneo


1 Answers

Are you using console.log anywhere? That will break in IE unless the debug tools are open.

like image 169
Jake Feasel Avatar answered Aug 23 '26 03:08

Jake Feasel



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!