Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

My application works in IE only in debug mode (works in other browsers) [closed]

In Internet Explorer (I tried 9 and 8) my application doesn't work in the normal mode. But when I get to debug mode (press F12), it works with some minor problems (which are irrelevant now).

This makes it impossible for me to debug my application, because in debug mode, it just starts working.

This is the application I developed.

What could be the solution?

like image 428
mfadel Avatar asked May 24 '12 12:05

mfadel


1 Answers

Do you use console.log in your script? In IE browsers console object exists in scope only in debug mode. Change your code to:

if (console) console.log('...')

EDIT: I've looked at your application and you are using console log.

like image 133
WojtekT Avatar answered Sep 26 '22 06:09

WojtekT