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

This commit is contained in:
Michael Vogel 2014-05-29 20:27:06 +02:00
parent c759ee55e1
commit b0df06dd72
3 changed files with 3 additions and 2 deletions

View file

@ -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;

View file

@ -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;

View file

@ -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}}