diff options
Diffstat (limited to 'itjs')
-rw-r--r-- | itjs/boot.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/itjs/boot.js b/itjs/boot.js index 73ca86b..2c1943f 100644 --- a/itjs/boot.js +++ b/itjs/boot.js @@ -146,7 +146,9 @@ function it_boot(file, isretry) var doc = document; var dom = doc && (dom = doc.getElementById('it_boot_dom')); // HTML has been rendered - if (dom) + if (window.opera) + document.write('<sc'+'ript type="text/javascript" src="'+it_boot_addparam(file, 'init=1')+'"><\/sc'+'ript>'); + else if (dom) { var tag = doc.createElement("script"); tag.src = it_boot_addparam(file, 'init=1'); |