diff --git a/app/views/challenges/create_choose_question.js.erb b/app/views/challenges/create_choose_question.js.erb index f2dff48a..bdfca84a 100644 --- a/app/views/challenges/create_choose_question.js.erb +++ b/app/views/challenges/create_choose_question.js.erb @@ -1,7 +1,7 @@ $("#task_pass_page").html("<%= j( render :partial => "single_or_multiple_question_show") %>"); var html = '<%= @challenge_choose.position %>.<%= @challenge_choose.category == 1 ? "单选题" : "多选题" %>' -$(".active").html(html); +$(".click_active.active").html(html); if($(".add_choose_type").length == 0 && $(".click_active").length < 11){ var html_1 ='+'; - $(".active").after(html_1); + $(".click_active.active").after(html_1); } \ No newline at end of file