增加单选题选项时增加空格
This commit is contained in:
parent
09277b8da7
commit
a2ec15b99c
|
@ -56,7 +56,7 @@ function edit_head(){
|
||||||
//单选题
|
//单选题
|
||||||
function add_single_answer(doc)
|
function add_single_answer(doc)
|
||||||
{
|
{
|
||||||
doc.parent().after("<li class='ur_item'><label>选项<span class='ur_index'></span>: </label><input maxlength='200' type='text' name='question_answer["+new Date().getTime()+"]' placeholder='新建选项'/>" +
|
doc.parent().after("<li class='ur_item'><label>选项<span class='ur_index'></span>:</label><input maxlength='200' type='text' name='question_answer["+new Date().getTime()+"]' placeholder='新建选项'/>" +
|
||||||
"<a class='icon_add' title='向下插入选项' onclick='add_single_answer($(this));'></a><a class='icon_remove' title='删除' onclick='remove_single_answer($(this))'></a>"+
|
"<a class='icon_add' title='向下插入选项' onclick='add_single_answer($(this));'></a><a class='icon_remove' title='删除' onclick='remove_single_answer($(this))'></a>"+
|
||||||
"</li><div class='cl'></div>");
|
"</li><div class='cl'></div>");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue