summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
Diffstat (limited to 'ext')
-rw-r--r--ext/mixed/js/display.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/mixed/js/display.js b/ext/mixed/js/display.js
index 92020b51..d52fe576 100644
--- a/ext/mixed/js/display.js
+++ b/ext/mixed/js/display.js
@@ -1498,7 +1498,7 @@ class Display extends EventDispatcher {
}
_areSame(set, array) {
- if (set.size !== array.size) { return false; }
+ if (set.size !== array.length) { return false; }
for (const value of array) {
if (!set.has(value)) {
return false;