X-Git-Url: http://git.shiar.net/sheet.git/blobdiff_plain/0ef06cdf3844c0899ea9f64670c41668301dfcc5..5299da1556ec4ccf5c93fea0d1c4dcef5f6bb180:/word/memory.js diff --git a/word/memory.js b/word/memory.js index a70ec06..b539b2d 100644 --- a/word/memory.js +++ b/word/memory.js @@ -69,7 +69,7 @@ class WordMemory extends WordQuiz { let cols = Math.round(Math.sqrt(count) * aspect**.5); count = cols * Math.ceil(count / cols); this.form.style['grid-template-columns'] = `repeat(${cols}, 1fr)`; - cards = this.words.splice(0, count>>1).map(row => row[2]); + cards = this.words.splice(0, count>>1).map(row => row.imgid); cards.push(...cards.map(val => -val)); } else {