summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--itjs/loader.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/itjs/loader.js b/itjs/loader.js
index 0fa7c4e..25bb33c 100644
--- a/itjs/loader.js
+++ b/itjs/loader.js
@@ -262,7 +262,8 @@ unlink: function(callid)
if (this.scrpt[callid])
{
- document.body.removeChild(this.scrpt[callid]);
+ if (!(document.all && String(navigator.userAgent).indexOf('MSIE 5.0') > 0))
+ document.body.removeChild(this.scrpt[callid]);
this.scrpt[callid] = null;
}