diff options
author | Luke Fitzgerald <lw.fitzgerald@googlemail.com> | 2010-06-30 09:37:03 -0700 |
---|---|---|
committer | Luke Fitzgerald <lw.fitzgerald@googlemail.com> | 2010-06-30 09:37:03 -0700 |
commit | 884b26229d74cc5b386406e3e9125629b4e3ecd0 (patch) | |
tree | adb7cb2a655c4e00f0cc57c1c29685b21a0a5f41 /js/util.js | |
parent | bf6ecfbffc795c1f5b011751a7f4dc8a9d0c14f1 (diff) | |
parent | fdd9aa58e3caf87096e1c1dcfa8b2f286b04e4b1 (diff) |
Merge remote branch 'statusnet/1.0.x' into irc-plugin
Diffstat (limited to 'js/util.js')
-rw-r--r-- | js/util.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/util.js b/js/util.js index 1320d11b4..29b33097b 100644 --- a/js/util.js +++ b/js/util.js @@ -84,7 +84,7 @@ var SN = { // StatusNet form.find('#'+SN.C.S.NoticeTextCount).text(jQuery.data(form[0], 'ElementData').MaxLength); } - if ($('body')[0].id != 'conversation' && window.location.hash.length === 0) { + if ($('body')[0].id != 'conversation' && window.location.hash.length === 0 && $(window).scrollTop() == 0) { form.find('textarea').focus(); } }, |