diff options
author | Andreas Gohr <andi@splitbrain.org> | 2006-09-15 17:01:52 +0200 |
---|---|---|
committer | Andreas Gohr <andi@splitbrain.org> | 2006-09-15 17:01:52 +0200 |
commit | 3cb0d4e1225783076fef2fce4427aed0aca16213 (patch) | |
tree | 69c3b9e15dd0c0960a7ee0442d87dbaea870c32a /lib | |
parent | 48bb2420ddf7e5b7d7841508cf23ffb1e579334c (diff) | |
download | rpg-3cb0d4e1225783076fef2fce4427aed0aca16213.tar.gz rpg-3cb0d4e1225783076fef2fce4427aed0aca16213.tar.bz2 |
script fix for IE
darcs-hash:20060915150152-7ad00-9ee841597a011119b96964a1468b1f517fab857a.gz
Diffstat (limited to 'lib')
-rw-r--r-- | lib/scripts/events.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/scripts/events.js b/lib/scripts/events.js index bcfa10133..33bd1429e 100644 --- a/lib/scripts/events.js +++ b/lib/scripts/events.js @@ -104,8 +104,8 @@ window.fireoninit = function() { // for Internet Explorer (using conditional comments) /*@cc_on @*/ /*@if (@_win32) - document.write("<scr" + "ipt id=__ie_init defer=true src=//:><\/script>"); - var script = document.getElementById("__ie_onload"); + document.write("<scr" + "ipt id=\"__ie_init\" defer=\"true\" src=\"//:\"><\/script>"); + var script = document.getElementById("__ie_init"); script.onreadystatechange = function() { if (this.readyState == "complete") { window.fireoninit(); // call the onload handler |