Remove superfluous call to focus() in global commentExpand() function
authorHypolite Petovan <hypolite@mrpetovan.com>
Fri, 15 Feb 2019 03:25:42 +0000 (22:25 -0500)
committerHypolite Petovan <hypolite@mrpetovan.com>
Fri, 15 Feb 2019 03:25:42 +0000 (22:25 -0500)
view/templates/head.tpl

index 6f7ddff..e02e4e4 100644 (file)
@@ -88,7 +88,6 @@
                $("#comment-edit-text-" + id).putCursorAtEnd();
                $("#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;