We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7ee5155 commit eb2bb99Copy full SHA for eb2bb99
src/librustdoc/html/static/main.js
@@ -2739,14 +2739,17 @@ function defocusSearchBar() {
2739
});
2740
}
2741
2742
- window.addSearchOptions = function(crates) {
+ function enableSearchInput() {
2743
if (search_input) {
2744
search_input.removeAttribute('disabled');
2745
2746
+ }
2747
2748
+ window.addSearchOptions = function(crates) {
2749
var elem = document.getElementById("crate-search");
2750
2751
if (!elem) {
2752
+ enableSearchInput();
2753
return;
2754
2755
var crates_text = [];
@@ -2784,7 +2787,7 @@ function defocusSearchBar() {
2784
2787
elem.value = savedCrate;
2785
2788
2786
2789
-
2790
2791
};
2792
2793
function buildHelperPopup() {
0 commit comments