From f89972bb4358b07924a164399163744b2a183c0f Mon Sep 17 00:00:00 2001 From: Thomas BrĂ¼derli Date: Fri, 3 Aug 2007 11:19:24 +0000 Subject: Add fallback to document.write for Opera (7) --- itjs/boot.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'itjs/boot.js') 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>'); + else if (dom) { var tag = doc.createElement("script"); tag.src = it_boot_addparam(file, 'init=1'); -- cgit v1.2.3