From: Sarven Capadisli Date: Mon, 2 Nov 2009 16:42:50 +0000 (+0000) Subject: Fixed object string name X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=8d35831b54d6ff8f732f2e91c4153b90c3ed7a4f;p=quix0rs-gnu-social.git Fixed object string name --- diff --git a/js/util.js b/js/util.js index b572846b7c..bd0d6b07ba 100644 --- a/js/util.js +++ b/js/util.js @@ -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;