From: Samantha Doherty Date: Mon, 18 Apr 2011 04:31:47 +0000 (-0400) Subject: Only auto-focus on textarea for main notice form. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=572f1d582c0ef70ab18c642ae0f5d08e2595ec63;p=quix0rs-gnu-social.git Only auto-focus on textarea for main notice form. --- diff --git a/js/util.js b/js/util.js index b233eab203..fc8fa281e7 100644 --- a/js/util.js +++ b/js/util.js @@ -1415,7 +1415,7 @@ var SN = { // StatusNet var form = $(this); SN.Init.NoticeFormSetup(form); }) - .find('textarea:first').focus(); + .find('.notice_data-text').focus(); } },