diff options
Diffstat (limited to 'itjs/boot.js')
-rw-r--r-- | itjs/boot.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/itjs/boot.js b/itjs/boot.js index 8aae2fa..b0abe93 100644 --- a/itjs/boot.js +++ b/itjs/boot.js @@ -120,7 +120,7 @@ function it_boot(file, isretry) { it_boot.sequence += "e"; var code = loader.responseText; - if (window.env && window.env.is_live_server) + if (!window.env || !!window.env.is_live_server) code = "try {" + loader.responseText + "} catch (e) { it_catcherr(e.message, it_boot.file, -1); }"; // Wrapped in try/catch as Konqueror does not support window.onerror if (window.execScript) window.execScript(code, "javascript"); // IE work-around to get script executed in global scope |