File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ Some things that might be helpful to you though:
4545 -->
4646 <fieldset id="search-from" style="display:none">
4747 <label><input name="from" value="library" type="radio"> From the Standard Library</label>
48- <label><input name="from" value="dro " type="radio" checked> From DuckDuckGo</label>
48+ <label><input name="from" value="duckduckgo " type="radio" checked> From DuckDuckGo</label>
4949 </fieldset>
5050 </form >
5151</div >
@@ -81,7 +81,7 @@ function on_submit(event) {
8181
8282 event .preventDefault ();
8383
84- if (form[' from' ].value === ' dro ' ) {
84+ if (form[' from' ].value === ' duckduckgo ' ) {
8585 document .location .href = form .action + ' ?q=' + encodeURIComponent (q + ' site:doc.rust-lang.org' );
8686 } else if (form[' from' ].value === ' library' ) {
8787 document .location .href = ' std/index.html?search=' + encodeURIComponent (q);
You can’t perform that action at this time.
0 commit comments