From b9da38e82a2d630e294f05a4a4d4eec0656b7b06 Mon Sep 17 00:00:00 2001
From: cxt <853663049@qq.com>
Date: Fri, 12 Apr 2019 15:58:45 +0800
Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
app/views/challenges/create_choose_question.js.erb | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
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