Commit 232b8a92 by doszhang

dos

parent dca1ed65
......@@ -402,7 +402,7 @@ function prevQuestion() {
'left': '' + 5.5 * (nowQuestionIndex - 1) + 'rem'
}, 500);
setTimeout(function () {
$('.question' + nowQuestionIndex + '-block').addClass('fadeinleft').show();
$('.question' + nowQuestionIndex + '-block').addClass('fadeinleft');
}, 900);
}
}
......@@ -421,7 +421,7 @@ function nextQuestion(e) {
$('.question' + nowQuestionIndex + '-block').addClass('fadeoutleft');
setTimeout(function () {
$('.question' + nowIndex + '-block').removeClass('fadeoutleft').hide();
$('.question' + nowIndex + '-block').removeClass('fadeoutleft');
}, 1000);
nowQuestionIndex++;
watchedQuestion.push(nowQuestionIndex);
......
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