Skip to content

Commit

Permalink
Update keyboard-shortcuts.js
Browse files Browse the repository at this point in the history
  • Loading branch information
janfaracik committed Sep 6, 2022
1 parent 5556d5e commit 1a15ba7
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("CMD+/"), () => {
hotkeys(translateModifierKeysForUsersPlatform("CMD+/,/"), () => {
pageSearchBar[0].focus();

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

0 comments on commit 1a15ba7

Please sign in to comment.