Skip to content

Commit

Permalink
hopefully made bas-search compatible with mac
Browse files Browse the repository at this point in the history
  • Loading branch information
on committed Aug 20, 2024
1 parent 027995e commit 32eb832
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bas-search.user.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@

// Show the input box when "/" is pressed
document.addEventListener('keydown', function(event) {
if (event.altKey && event.key === '/') {
if ((event.altKey || event.metaKey) && event.key === '/') {
event.preventDefault();
inputBox.style.display = 'block';
inputBox.focus();
Expand Down

0 comments on commit 32eb832

Please sign in to comment.