X-Git-Url: http://git.shiar.nl/sheet.git/blobdiff_plain/7bbf129e06d190145d0a4d9a7d4c7399d2112f88..3232c47b5c02deecf8391974323073e82f038c33:/word/multichoice.js diff --git a/word/multichoice.js b/word/multichoice.js index 61a7b5a..5908fdc 100644 --- a/word/multichoice.js +++ b/word/multichoice.js @@ -1,5 +1,6 @@ class WordMultiChoice extends WordQuiz { next() { + if (this.words.length < 4) return; let word = this.words.shift(); if (!word[2]) return this.next(); let form = put(this.form,