forked from GNUsocial/gnu-social
Add TabFocus (for die-hard Twitter users) plugin
This commit is contained in:
7
plugins/TabFocus/tabfocus.js
Normal file
7
plugins/TabFocus/tabfocus.js
Normal file
@@ -0,0 +1,7 @@
|
||||
jQuery(function($){
|
||||
$('#notice_data-text').bind('keydown',function(e){
|
||||
if (e.which==9) {
|
||||
setTimeout(function(){ $('#notice_action-submit').focus(); },15);
|
||||
}
|
||||
});
|
||||
});
|
Reference in New Issue
Block a user