diff options
author | Thomas BrĂ¼derli | 2007-09-19 14:24:30 +0000 |
---|---|---|
committer | Thomas BrĂ¼derli | 2007-09-19 14:24:30 +0000 |
commit | 5eb48dac8fab3e732008f95a9b5c61e4978243ee (patch) | |
tree | 7558724f77f34571da9b1e71d561222840a02d8e /itjs/loader.js | |
parent | 6c2604e2face4966ba2f48a4f0c229bccb577b19 (diff) | |
download | itools-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.js | 3 |
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; } } |