Commit f9eb94de by doszhang

dos

parent 0a60de32
...@@ -115,12 +115,6 @@ $(document).ready(function () { ...@@ -115,12 +115,6 @@ $(document).ready(function () {
}); });
function nextQuestion(e) { function nextQuestion(e) {
if (e) {
console.log(1);
}
return false;
let source = e.data.source;
if (nowAnswer !== '') { if (nowAnswer !== '') {
answerArr[nowQuestionIndex - 1] = nowAnswer; answerArr[nowQuestionIndex - 1] = nowAnswer;
nowAnswer = ''; nowAnswer = '';
...@@ -137,7 +131,7 @@ function nextQuestion(e) { ...@@ -137,7 +131,7 @@ function nextQuestion(e) {
$('.question' + nowQuestionIndex + '-block').show(); $('.question' + nowQuestionIndex + '-block').show();
}, 900); }, 900);
} else { } else {
if (source) { if (e != 'indexbar') {
$('#notification_area').remove(); $('#notification_area').remove();
my_notify('请选择答案'); my_notify('请选择答案');
return false; return false;
......
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