]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Only auto-focus on textarea for main notice form.
authorSamantha Doherty <sammy@status.net>
Mon, 18 Apr 2011 04:31:47 +0000 (00:31 -0400)
committerSamantha Doherty <sammy@status.net>
Mon, 18 Apr 2011 04:31:47 +0000 (00:31 -0400)
js/util.js

index b233eab20337165006e21ea90d384e41a9e2fa1a..fc8fa281e713e5abc4d7fe822b37005b72d264d5 100644 (file)
@@ -1415,7 +1415,7 @@ var SN = { // StatusNet
                     var form = $(this);
                     SN.Init.NoticeFormSetup(form);
                 })
-                .find('textarea:first').focus();
+                .find('.notice_data-text').focus();
        }
     },