Commit ff8fdfdd by doszhang

dos

parent 2fec5b87
...@@ -92,7 +92,7 @@ function chooseAnswer(e) { ...@@ -92,7 +92,7 @@ function chooseAnswer(e) {
if (node.attr('class').indexOf('active') != -1) { if (node.attr('class').indexOf('active') != -1) {
nowAnswer = ''; nowAnswer = '';
} else { } else {
nowAnswer = node.index($('.question' + nowQuestionIndex + '-block .answer')); nowAnswer = $('.question' + nowQuestionIndex + '-block .answer').index(node);
node.find('div[class$=-active]').show(); node.find('div[class$=-active]').show();
} }
console.log('nowAnswer:' + nowAnswer); console.log('nowAnswer:' + nowAnswer);
......
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