From 81d86570da2c184a528f3f9d5862c560885a57f8 Mon Sep 17 00:00:00 2001 From: Aiosa Date: Sat, 28 Jan 2023 14:08:00 +0100 Subject: [PATCH] Typo in the stopping comparison condition. --- src/tiledimage.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tiledimage.js b/src/tiledimage.js index 8a062c92..a98127b1 100644 --- a/src/tiledimage.js +++ b/src/tiledimage.js @@ -1665,7 +1665,7 @@ $.extend($.TiledImage.prototype, $.EventSource.prototype, /** @lends OpenSeadrag function completionCallback() { stopper--; - if (stopper > 0) { + if (stopper >= 0) { tile.loading = false; tile.loaded = true; tile.hasTransparency = _this.source.hasTransparency(