Drop auto-focusing of the notice form.

This commit is contained in:
Brion Vibber 2011-03-03 16:15:28 -08:00
parent 822f08e3ed
commit 488230c3e1
2 changed files with 1 additions and 5 deletions

View File

@ -136,10 +136,6 @@ var SN = { // StatusNet
else { else {
form.find('#'+SN.C.S.NoticeTextCount).text(jQuery.data(form[0], 'ElementData').MaxLength); form.find('#'+SN.C.S.NoticeTextCount).text(jQuery.data(form[0], 'ElementData').MaxLength);
} }
if ($('body')[0].id != 'conversation' && window.location.hash.length === 0 && $(window).scrollTop() == 0) {
form.find('textarea').focus();
}
}, },
/** /**

2
js/util.min.js vendored

File diff suppressed because one or more lines are too long