Skip to content

Commit

Permalink
Rollup merge of #75393 - GuillaumeGomez:fix-help-shortcut, r=pickfire
Browse files Browse the repository at this point in the history
Fully handle "?" shortcut

Fixes #75386.

cc @runiq
  • Loading branch information
tmandry authored Aug 11, 2020
2 parents c18b64c + fdf2fe1 commit a421197
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/librustdoc/html/static/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -408,9 +408,7 @@ function defocusSearchBar() {
break;

case "?":
if (ev.shiftKey) {
displayHelp(true, ev);
}
displayHelp(true, ev);
break;
}
}
Expand Down

0 comments on commit a421197

Please sign in to comment.