diff options
Diffstat (limited to 'public/js/gogs.js')
-rw-r--r-- | public/js/gogs.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/public/js/gogs.js b/public/js/gogs.js index 68e286bc8c..f3aed276de 100644 --- a/public/js/gogs.js +++ b/public/js/gogs.js @@ -541,7 +541,7 @@ function initAdmin() { function buttonsClickOnEnter() { $('.ui.button').keypress(function(e){ - if (e.keyCode == 13) + if (e.keyCode == 13 || e.keyCode == 32) // enter key or space bar $(this).click(); }); } |