about summary refs log tree commit diff
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume1.gomez@gmail.com>2020-08-11 11:30:50 +0200
committerGuillaume Gomez <guillaume1.gomez@gmail.com>2020-08-11 18:28:01 +0200
commitfdf2fe18a1fcd18d2243c8e9877383e7fab13651 (patch)
tree5f5d86e3ce68ba1193b259123755538e7a937d38
parent441fd2255763c2aeea616aeac61b2c795a4c5330 (diff)
downloadrust-fdf2fe18a1fcd18d2243c8e9877383e7fab13651.tar.gz
rust-fdf2fe18a1fcd18d2243c8e9877383e7fab13651.zip
Fully handle "?" shortcut
-rw-r--r--src/librustdoc/html/static/main.js4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/librustdoc/html/static/main.js b/src/librustdoc/html/static/main.js
index 63853e7394b..462a696dee6 100644
--- a/src/librustdoc/html/static/main.js
+++ b/src/librustdoc/html/static/main.js
@@ -408,9 +408,7 @@ function defocusSearchBar() {
                 break;
 
             case "?":
-                if (ev.shiftKey) {
-                    displayHelp(true, ev);
-                }
+                displayHelp(true, ev);
                 break;
             }
         }