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
vecāks c759ee55e1
revīzija b0df06dd72
3 mainīti faili ar 3 papildinājumiem un 2 dzēšanām

Parādīt failu

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

Parādīt failu

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

Parādīt failu

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