small fix
This commit is contained in:
@@ -80,12 +80,10 @@ let app = {
|
|||||||
},
|
},
|
||||||
right() {
|
right() {
|
||||||
this.done.push(this.current.shift());
|
this.done.push(this.current.shift());
|
||||||
console.log(this.current);
|
|
||||||
this.nextQuestion();
|
this.nextQuestion();
|
||||||
},
|
},
|
||||||
wrong() {
|
wrong() {
|
||||||
this.failed.push(this.current.shift());
|
this.failed.push(this.current.shift());
|
||||||
console.log(this.current);
|
|
||||||
this.nextQuestion();
|
this.nextQuestion();
|
||||||
},
|
},
|
||||||
deleteRow(i) {
|
deleteRow(i) {
|
||||||
@@ -115,7 +113,7 @@ let app = {
|
|||||||
|
|
||||||
if (this.current.length > 0) {
|
if (this.current.length > 0) {
|
||||||
if ((this.a2q && !this.q2a) || (this.a2q === this.q2a && utils.randint(0, 2) === 1)) {
|
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];
|
this.question = this.current[0][1];
|
||||||
} else {
|
} else {
|
||||||
this.question = this.current[0][0];
|
this.question = this.current[0][0];
|
||||||
|
|||||||
Reference in New Issue
Block a user