forked from GNUsocial/gnu-social
Fixed object string name
This commit is contained in:
parent
d8e2d76ba9
commit
8d35831b54
@ -97,11 +97,11 @@ var SN = { // StatusNet
|
||||
|
||||
SubmitOnReturn: function(event, el) {
|
||||
if (event.keyCode == 13 || event.keyCode == 10) {
|
||||
$('#'+el[0].id+' #'+SN.C.S.NoticeDataText).blur();
|
||||
$('body').focus();
|
||||
el.submit();
|
||||
event.preventDefault();
|
||||
event.stopPropagation();
|
||||
$('#'+el[0].id+' #'+SN.U.NoticeDataText).blur();
|
||||
$('body').focus();
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
|
Loading…
Reference in New Issue
Block a user