summaryrefslogtreecommitdiff
path: root/plugins/TabFocus/tabfocus.js
diff options
context:
space:
mode:
authorBrion Vibber <brion@pobox.com>2010-02-26 12:33:36 -0800
committerBrion Vibber <brion@pobox.com>2010-02-26 12:33:36 -0800
commit517fd54b6515375b075a5d7253a8b66e53785baa (patch)
tree56b7b0b6747a6c6d9d897ff38d02676c780bad0f /plugins/TabFocus/tabfocus.js
parent8dfc8f1635940b096e7f4025e3aef0ca4f909eb2 (diff)
parenteb724bfdc85d0b50d6f5be60e1e11296ebe11247 (diff)
Merge branch '0.9.x' of gitorious.org:statusnet/mainline into 0.9.x
Diffstat (limited to 'plugins/TabFocus/tabfocus.js')
-rw-r--r--plugins/TabFocus/tabfocus.js7
1 files changed, 7 insertions, 0 deletions
diff --git a/plugins/TabFocus/tabfocus.js b/plugins/TabFocus/tabfocus.js
new file mode 100644
index 000000000..e2c1c6521
--- /dev/null
+++ b/plugins/TabFocus/tabfocus.js
@@ -0,0 +1,7 @@
+jQuery(function($){
+ $('#notice_data-text').bind('keydown',function(e){
+ if (e.which==9) {
+ setTimeout(function(){ $('#notice_action-submit').focus(); },15);
+ }
+ });
+});