Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix timer stop on submit #1175

Merged

Conversation

nehasacher143
Copy link

@nehasacher143 nehasacher143 changed the base branch from production to bs-apr-sprint-1 April 9, 2021 13:50
@@ -4,8 +4,10 @@ class Quiz {
Object.assign(this, options);
this.questions = []
this.refresh();
var timer;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
var timer;
let timer;

}, 1000);
}

}

stopTimer() {
console.log(Quiz.timer)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
console.log(Quiz.timer)

@sahil28297 sahil28297 merged commit 453fd4b into Bloomstack:bs-apr-sprint-1 Apr 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants