summaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorSarven Capadisli <csarven@status.net>2009-11-02 16:42:50 +0000
committerSarven Capadisli <csarven@status.net>2009-11-02 16:42:50 +0000
commit8d35831b54d6ff8f732f2e91c4153b90c3ed7a4f (patch)
treefd086c7d97d2a96dee603d87d1b2c5037afdc137 /js
parentd8e2d76ba93557f8c12f966b5d0afccf9fbdc83b (diff)
Fixed object string name
Diffstat (limited to 'js')
-rw-r--r--js/util.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/js/util.js b/js/util.js
index b572846b7..bd0d6b07b 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;