summaryrefslogtreecommitdiff
path: root/itjs/loader.js
diff options
context:
space:
mode:
authorThomas BrĂ¼derli2007-09-19 14:24:30 +0000
committerThomas BrĂ¼derli2007-09-19 14:24:30 +0000
commit5eb48dac8fab3e732008f95a9b5c61e4978243ee (patch)
tree7558724f77f34571da9b1e71d561222840a02d8e /itjs/loader.js
parent6c2604e2face4966ba2f48a4f0c229bccb577b19 (diff)
downloaditools-5eb48dac8fab3e732008f95a9b5c61e4978243ee.tar.gz
itools-5eb48dac8fab3e732008f95a9b5c61e4978243ee.tar.bz2
itools-5eb48dac8fab3e732008f95a9b5c61e4978243ee.zip
IE requires this sequence, Safari wants the opposite
Diffstat (limited to 'itjs/loader.js')
-rw-r--r--itjs/loader.js3
1 files changed, 2 insertions, 1 deletions
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; }
}