Vier: When clicking on the reply button, the focus now automatically changes to the textarea.

这个提交包含在:
Michael Vogel 2014-05-29 20:27:06 +02:00
父节点 c759ee55e1
当前提交 b0df06dd72
共有 3 个文件被更改,包括 3 次插入2 次删除

查看文件

@ -47,6 +47,7 @@
$("#comment-edit-text-" + id).value = '';
$("#comment-edit-text-" + id).addClass("comment-edit-text-full");
$("#comment-edit-text-" + id).removeClass("comment-edit-text-empty");
$("#comment-edit-text-" + id).focus();
$("#mod-cmnt-wrap-" + id).show();
openMenu("comment-edit-submit-wrapper-" + id);
return true;

查看文件

@ -51,7 +51,7 @@
display: inline-block;
text-decoration: inherit;
vertical-align: top;
font-size: 1.3333333333333333em;
font-size: 1.2em;
}
a .icon {
display: inline-block;

查看文件

@ -99,7 +99,7 @@
{{if $item.threaded}}
{{/if}}
{{if $item.comment}}
<span id="comment-{{$item.id}}" class="fakelink togglecomment" onclick="commentExpand({{$item.id}}); openClose('item-comments-{{$item.id}}');"><i class="icon-reply"></i></span>
<span id="comment-{{$item.id}}" class="fakelink togglecomment" onclick="openClose('item-comments-{{$item.id}}'); commentExpand({{$item.id}});"><i class="icon-reply"></i></span>
{{/if}}
{{if $item.vote}}
{{if $item.vote.like}}