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,