diff options
Diffstat (limited to 'js')
-rw-r--r-- | js/main.js | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/js/main.js b/js/main.js index 06b7cab99..ae1b7eace 100644 --- a/js/main.js +++ b/js/main.js @@ -144,6 +144,12 @@ $(document).ready(function(){ } }); + $('#addfeed_dialog_firstrun input[type=text]').keyup(function(e){ + if((e.keyCode || e.which) == 13) { // 'enter' key shortcut + $(this).siblings('input[type=submit]').trigger('click'); + } + }); + }); |