Skip to content

Commit

Permalink
Fix logic error for /
Browse files Browse the repository at this point in the history
  • Loading branch information
jakobandersen authored and marxin committed Jan 16, 2022
1 parent 0c677c4 commit c18be2e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion sphinx/themes/basic/static/doctools.js
Expand Up @@ -324,7 +324,8 @@ var Documentation = {
Documentation.hideSearchWords();
return false;
}
} else if (!event.altKey && !event.ctrlKey && !event.metaKey) {
}
if (!event.altKey && !event.ctrlKey && !event.metaKey) {
// some keyboard layouts need Shift to get /
switch (event.key) {
case '/':
Expand Down

0 comments on commit c18be2e

Please sign in to comment.