forked from gitea/gitea
1
0
Fork 0

space bar as click

This commit is contained in:
Unknwon 2015-11-11 18:44:39 -05:00
parent 675cd997d8
commit 020fb43b77
1 changed files with 1 additions and 1 deletions

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