space bar as click

release/v0.9
Unknwon 8 years ago
parent 675cd997d8
commit 020fb43b77

@ -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