From b0df06dd726a9b287f3ea87e151dd6823a69cb75 Mon Sep 17 00:00:00 2001 From: Michael Vogel Date: Thu, 29 May 2014 20:27:06 +0200 Subject: [PATCH] Vier: When clicking on the reply button, the focus now automatically changes to the textarea. --- view/templates/head.tpl | 1 + view/theme/vier/css/font2.css | 2 +- view/theme/vier/templates/wall_thread.tpl | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/view/templates/head.tpl b/view/templates/head.tpl index 589a7db5e..f1f6b5505 100644 --- a/view/templates/head.tpl +++ b/view/templates/head.tpl @@ -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; diff --git a/view/theme/vier/css/font2.css b/view/theme/vier/css/font2.css index 47706703c..a0afe8c04 100644 --- a/view/theme/vier/css/font2.css +++ b/view/theme/vier/css/font2.css @@ -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; diff --git a/view/theme/vier/templates/wall_thread.tpl b/view/theme/vier/templates/wall_thread.tpl index 049ae1847..7363032d8 100644 --- a/view/theme/vier/templates/wall_thread.tpl +++ b/view/theme/vier/templates/wall_thread.tpl @@ -99,7 +99,7 @@ {{if $item.threaded}} {{/if}} {{if $item.comment}} - + {{/if}} {{if $item.vote}} {{if $item.vote.like}}