diff options
author | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2020-11-13 20:53:41 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-13 20:53:41 -0500 |
commit | d0f364bad8621c51753c786f97ccb0cba768e298 (patch) | |
tree | 9cc491b1d147f99458c51d2f854e8eee36bcb42b /ext/mixed | |
parent | d62d353958c213c5c073973a062fbb2e3770f024 (diff) |
Fix _areSame check not using correct array count property (#1026)
Diffstat (limited to 'ext/mixed')
-rw-r--r-- | ext/mixed/js/display.js | 2 |
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; |