Commit 08686baa by doszhang

dos

parent 511d1807
...@@ -115,7 +115,11 @@ $(document).ready(function () { ...@@ -115,7 +115,11 @@ $(document).ready(function () {
}); });
function prevQuestion() { function prevQuestion() {
let nowIndex = nowQuestionIndex;
$('.question' + nowQuestionIndex + '-block').addClass('fadeoutleft'); $('.question' + nowQuestionIndex + '-block').addClass('fadeoutleft');
setTimeout(function () {
$('.question' + nowIndex + '-block').removeClass('fadeoutleft').hide();
}, 1000);
nowQuestionIndex--; nowQuestionIndex--;
nowAnswer = answerArr[nowQuestionIndex - 1]; nowAnswer = answerArr[nowQuestionIndex - 1];
$('.question-page .point').animate({ $('.question-page .point').animate({
......
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