From 5d70a807da2814456dabc0159ad9c8b7c6a649ba Mon Sep 17 00:00:00 2001 From: Dragos Daian Date: Mon, 23 Jan 2023 19:54:51 +0100 Subject: [PATCH] fix build error --- src/imageloader.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/imageloader.js b/src/imageloader.js index 2dbbb3a8..85ea7b4c 100644 --- a/src/imageloader.js +++ b/src/imageloader.js @@ -234,7 +234,7 @@ $.ImageLoader.prototype = { * @param callback - Called once cleanup is finished. */ function completeJob(loader, job, callback) { - if (job.errorMsg != '' && job.image === null && job.tries < 1 + loader.tileRetryMax) { + if (job.errorMsg !== '' && job.image === null && job.tries < 1 + loader.tileRetryMax) { loader.failedTiles.push(job); } var nextJob;