diff options
Diffstat (limited to 'itjs')
-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; } } |