Skip to content

Commit 01a1bcb

Browse files
Fix default "disable-shortcuts" feature value
1 parent f466f52 commit 01a1bcb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/librustdoc/html/static/main.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ function getSearchElement() {
7979
"derive",
8080
"traitalias"];
8181

82-
var disableShortcuts = getCurrentValue("rustdoc-disable-shortcuts") !== "true";
82+
var disableShortcuts = getCurrentValue("rustdoc-disable-shortcuts") === "true";
8383
var search_input = getSearchInput();
8484

8585
// On the search screen, so you remain on the last tab you opened.

0 commit comments

Comments
 (0)