From 09bb152feaadcd78c3822e9ce7e164f6ce8ca0a7 Mon Sep 17 00:00:00 2001 From: daiao <358551898@qq.com> Date: Thu, 30 Mar 2017 13:39:34 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=9E=E8=AE=ADtpm?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/challenges/_form.html.erb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/challenges/_form.html.erb b/app/views/challenges/_form.html.erb index a14c61019..a3d08f9b4 100644 --- a/app/views/challenges/_form.html.erb +++ b/app/views/challenges/_form.html.erb @@ -270,7 +270,7 @@ $('#edit_challenge_<%= @challenge.id %>').submit(); } } - challenge_knowledge_editor = KindEditor.create('#challenge_answer', + challenge_answer_editor = KindEditor.create('#challenge_answer', {"width":"87.5%", "resizeType":0, "no_label":true, @@ -281,7 +281,7 @@ "uploadJson":"/kindeditor/upload", "fileManagerJson":"/kindeditor/filemanager" }); - challenge_knowledge_editor = KindEditor.create('#challenge_task_pass', + challenge_task_pass_editor = KindEditor.create('#challenge_task_pass', {"width":"87.5%", "resizeType":0, "no_label":true,