Browse Source

space bar as click

tags/v1.2.0-rc1
Unknwon 10 years ago
parent
commit
5149af24bd
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      public/js/gogs.js

+ 1
- 1
public/js/gogs.js View File

@@ -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();
});
}


Loading…
Cancel
Save