summaryrefslogtreecommitdiff
path: root/itjs/loader.js
diff options
context:
space:
mode:
Diffstat (limited to 'itjs/loader.js')
-rw-r--r--itjs/loader.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/itjs/loader.js b/itjs/loader.js
index 9f1dd53..90edf1e 100644
--- a/itjs/loader.js
+++ b/itjs/loader.js
@@ -54,7 +54,7 @@ load: function(baseurl, pos, num, query_volatile, retry)
this.stop();
- while ((num > 0) && this.entry[pos])
+ while ((num > 0) && (typeof this.entry[pos] != "undefined"))
{
pos++;
num--;