From e865b614e6d366380eed8561474655cda147e03c Mon Sep 17 00:00:00 2001 From: Klemek Date: Tue, 29 Aug 2023 16:44:26 +0200 Subject: [PATCH] small fix --- main.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/main.js b/main.js index e722d68..cd39c54 100644 --- a/main.js +++ b/main.js @@ -80,12 +80,10 @@ let app = { }, right() { this.done.push(this.current.shift()); - console.log(this.current); this.nextQuestion(); }, wrong() { this.failed.push(this.current.shift()); - console.log(this.current); this.nextQuestion(); }, deleteRow(i) { @@ -115,7 +113,7 @@ let app = { if (this.current.length > 0) { if ((this.a2q && !this.q2a) || (this.a2q === this.q2a && utils.randint(0, 2) === 1)) { - this.anser = this.current[0][0]; + this.answer = this.current[0][0]; this.question = this.current[0][1]; } else { this.question = this.current[0][0];