-class WordMultiChoice extends WordQuiz {
+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,
'+img[src=$]+ul', `/data/word/32/${word[2]}.jpg`,
);
}
setup() {
- this.form = document.getElementById('quiz');
+ super.setup();
this.next();
}
};