From: Benjamin Auder Date: Tue, 2 Jun 2020 09:11:47 +0000 (+0200) Subject: Fix typo game --> o (copy-pasted too quickly) X-Git-Url: https://git.auder.net/variants/img/current/vendor/pieces/%3C?a=commitdiff_plain;h=7805351e0b70a08e8c9a7d913cd172424067feb3;p=vchess.git Fix typo game --> o (copy-pasted too quickly) --- diff --git a/client/src/views/Hall.vue b/client/src/views/Hall.vue index 547237fb..4be708d2 100644 --- a/client/src/views/Hall.vue +++ b/client/src/views/Hall.vue @@ -564,9 +564,9 @@ export default { classifyObject: function(o) { // No imported games here return ( - game.cadence.indexOf("d") >= 0 + o.cadence.indexOf("d") >= 0 ? "corr" - : (game.cadence.indexOf("/") >= 0 ? "simul" : "live") + : (o.cadence.indexOf("/") >= 0 ? "simul" : "live") ); }, setDisplay: function(letter, type, e) {