We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c394706 commit cef96b9Copy full SHA for cef96b9
src/librustdoc/html/static/main.js
@@ -78,9 +78,11 @@
78
return;
79
}
80
81
- if (e.which === 191 && $('#help').hasClass('hidden')) { // question mark
82
- e.preventDefault();
83
- $('#help').removeClass('hidden');
+ if (e.which === 191) { // question mark
+ if (e.shiftKey && $('#help').hasClass('hidden')) {
+ e.preventDefault();
84
+ $('#help').removeClass('hidden');
85
+ }
86
} else if (e.which === 27) { // esc
87
if (!$('#help').hasClass('hidden')) {
88
e.preventDefault();
0 commit comments