]> git.mxchange.org Git - friendica.git/blobdiff - view/theme/diabook-blue/comment_item.tpl
diabook-themes: added js for auto-growing comment-textareas
[friendica.git] / view / theme / diabook-blue / comment_item.tpl
index 09fd8da3dc163505ab9e771d3f7efe561ed0c1b3..47046c371a62f2e98eeec1b2abd57907483972b3 100644 (file)
@@ -11,7 +11,7 @@
                                        <a class="comment-edit-photo-link" href="$mylink" title="$mytitle"><img class="my-comment-photo" src="$myphoto" alt="$mytitle" title="$mytitle" /></a>
                                </div>
                                <div class="comment-edit-photo-end"></div>
-                               <textarea id="comment-edit-text-$id" class="comment-edit-text-empty" name="body" onFocus="commentOpen(this,$id);" onBlur="commentClose(this,$id);" >$comment</textarea>
+                               <textarea id="comment-edit-text-$id" class="comment-edit-text-empty" name="body" onFocus="commentOpen(this,$id);tautogrow($id)" onBlur="commentClose(this,$id);" >$comment</textarea>
                                <a class="icon bb-image" onclick="insertFormatting('$comment','img',$id);">img</a>      
                                <a class="icon bb-url" onclick="insertFormatting('$comment','url',$id);">url</a>
                                <a class="icon bb-video" onclick="insertFormatting('$comment','video',$id);">video</a>