]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Focus in textarea when popping up the status tab
authorBrion Vibber <brion@pobox.com>
Fri, 11 Mar 2011 01:44:17 +0000 (17:44 -0800)
committerBrion Vibber <brion@pobox.com>
Fri, 11 Mar 2011 01:44:17 +0000 (17:44 -0800)
js/util.js

index 2c8438e62a737741f13be087d3883aa955753e08..4ff2b661feb684e1b3516080a4fa36bb631927a6 100644 (file)
@@ -1297,7 +1297,8 @@ var SN = { // StatusNet
                 .find('.ajax-notice').each(function() {
                     var form = $(this);
                     SN.Init.NoticeFormSetup(form);
-                });
+                })
+                .find('textarea:first').focus();
        }
     },