Skip to content

Commit e7400f9

Browse files
committed
Programming
1 parent 7c1d5ee commit e7400f9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/inject/inject.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ function initOnHashChangeAction(domains) {
6363
}
6464

6565
function initShortcuts(shortcut, backgroundShortcut) {
66-
$(document).on("keypress", function(event) {
66+
$(document).on("keydown", function(event) {
6767
// Shortcut: bind user's combination, if a button exist and event not in a textarea
6868
if( processRightCombinationBasedOnShortcut(shortcut, event) && window.idled && $(".github-link:visible")[0] && notAnInput(event.target)) {
6969
triggerGitHubLink(false)

0 commit comments

Comments
 (0)