Skip to content

Commit

Permalink
Fix default "disable-shortcuts" feature value
Browse files Browse the repository at this point in the history
  • Loading branch information
GuillaumeGomez committed Oct 23, 2019
1 parent f466f52 commit 01a1bcb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/librustdoc/html/static/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ function getSearchElement() {
"derive",
"traitalias"];

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

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

0 comments on commit 01a1bcb

Please sign in to comment.