Skip to content

Commit

Permalink
Update main.js
Browse files Browse the repository at this point in the history
  • Loading branch information
X-20A authored Jan 14, 2024
1 parent 9e6c355 commit e8df701
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions compass/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -6597,4 +6597,14 @@ $(function() {
$('#fleet-import').trigger('input');
}
}
//キーボードショートカット
$(window).keyup(function(e) {
switch (e.keyCode) {
case 13: //Enter
if(!$('#go').prop('disabled')) {
$('#go').click();
}
break;
}
});
});

0 comments on commit e8df701

Please sign in to comment.