From 5eb48dac8fab3e732008f95a9b5c61e4978243ee Mon Sep 17 00:00:00 2001 From: Thomas BrĂ¼derli Date: Wed, 19 Sep 2007 14:24:30 +0000 Subject: IE requires this sequence, Safari wants the opposite --- itjs/loader.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'itjs') diff --git a/itjs/loader.js b/itjs/loader.js index 9b3c295..de6ae9d 100644 --- a/itjs/loader.js +++ b/itjs/loader.js @@ -133,8 +133,9 @@ load: function(baseurl, pos, num, query_volatile, retry) this.loader = { starttime: this.starttime, retry: retry }; try { + if (!document.all) this.scrpt.src = req_url; document.body.appendChild(this.scrpt); - this.scrpt.src = req_url; + if (document.all) this.scrpt.src = req_url; } catch (e) { return false; } } -- cgit v1.2.3