summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHenry Castro <hcastro@collabora.com>2024-04-15 09:58:59 -0400
committerHenry Castro <hcastro@collabora.com>2024-04-16 12:55:24 -0400
commit385d3790a7b7bd189b98b4db65a25af50c2fc926 (patch)
tree769d93e4d657864d1e752bed44a67319ca055db4
parentpermission: Don't show the edit button if read-only (diff)
downloadonline-385d3790a7b7bd189b98b4db65a25af50c2fc926.tar.gz
online-385d3790a7b7bd189b98b4db65a25af50c2fc926.zip
browser: fix queue preview part duplicate
Change-Id: Iefc364964ec916f8e230d35c9432f72cf5466ad0 Signed-off-by: Henry Castro <hcastro@collabora.com>
-rw-r--r--browser/src/control/Parts.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/browser/src/control/Parts.js b/browser/src/control/Parts.js
index 4d3a5ecc5f..18157dc576 100644
--- a/browser/src/control/Parts.js
+++ b/browser/src/control/Parts.js
@@ -181,7 +181,7 @@ L.Map.include({
_addPreviewToQueue: function(part, tileMsg) {
for (var tile in this._previewQueue)
- if (tile[0] === part)
+ if (this._previewQueue[tile][0] === part)
// we already have this tile in the queue
// no need to ask for it twice
return;