fix build error

This commit is contained in:
Dragos Daian 2023-01-23 19:54:51 +01:00
parent 77bc130636
commit 5d70a807da

View File

@ -234,7 +234,7 @@ $.ImageLoader.prototype = {
* @param callback - Called once cleanup is finished. * @param callback - Called once cleanup is finished.
*/ */
function completeJob(loader, job, callback) { 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); loader.failedTiles.push(job);
} }
var nextJob; var nextJob;