IE8 Javascript doesnt run unless Developer Tools is open?

后端 未结 2 1506
小蘑菇
小蘑菇 2021-02-20 04:29

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 worki

2条回答
  •  死守一世寂寞
    2021-02-20 05:09

    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.

提交回复
热议问题