Fix default "disable-shortcuts" feature value

This commit is contained in:
Guillaume Gomez 2019-10-24 00:23:07 +02:00
parent f466f52c1b
commit 01a1bcb7f9

View File

@ -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.