From 3ab5c8fa1b8560a0edfce8bd574503d9c00d69e1 Mon Sep 17 00:00:00 2001 From: Christian Schneider Date: Thu, 2 Oct 2008 00:12:43 +0000 Subject: Fix javascript strict warning --- itjs/loader.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'itjs') 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--; -- cgit v1.2.3