Browse Source

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

tags/3.3-RC
Michael Vogel 6 years ago
parent
commit
b0df06dd72
3 changed files with 3 additions and 2 deletions
  1. +1
    -0
      view/templates/head.tpl
  2. +1
    -1
      view/theme/vier/css/font2.css
  3. +1
    -1
      view/theme/vier/templates/wall_thread.tpl

+ 1
- 0
view/templates/head.tpl 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;


+ 1
- 1
view/theme/vier/css/font2.css 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;


+ 1
- 1
view/theme/vier/templates/wall_thread.tpl 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}}


Loading…
Cancel
Save