Commit 0853d228 by doszhang

dos

parent 08fa91d9
......@@ -138,7 +138,7 @@ function nextQuestion(e) {
if (nowQuestionIndex != 5) {
if (nowAnswer !== '') {
let nowIndex = nowQuestionIndex;
answerArr[nowQuestionIndex - 1] = nowAnswer;
nowAnswer = '';
$('.question' + nowQuestionIndex + '-block').addClass('fadeoutleft');
setTimeout(function () {
......@@ -174,7 +174,7 @@ function chooseAnswer(e) {
nowAnswer = $('.question' + nowQuestionIndex + '-block .answer').index(node);
node.find('div[class$=-active]').show();
}
answerArr[nowQuestionIndex - 1] = nowAnswer;
}
function showQuestion() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment