Skip to content

Commit

Permalink
Qualify keyboard shortcut
Browse files Browse the repository at this point in the history
  • Loading branch information
timja committed Sep 6, 2022
1 parent 0e694c8 commit ff4d685
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion war/src/main/js/keyboard-shortcuts.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ window.addEventListener("load", () => {

const pageSearchBar = document.querySelectorAll(".jenkins-search__input");
if (pageSearchBar.length === 1) {
hotkeys(translateModifierKeysForUsersPlatform("/"), () => {
hotkeys(translateModifierKeysForUsersPlatform("CMD+/"), () => {
pageSearchBar[0].focus();

// Returning false stops the event and prevents default browser events
Expand Down

0 comments on commit ff4d685

Please sign in to comment.