diff options
| author | Kazuyoshi Kato <kato.kazuyoshi@gmail.com> | 2018-10-05 08:52:44 -0700 |
|---|---|---|
| committer | Kazuyoshi Kato <kato.kazuyoshi@gmail.com> | 2018-10-05 08:52:44 -0700 |
| commit | 23af6bb4e3d5cc518eda86aa958db0cf4c1a55f9 (patch) | |
| tree | 7676305fb000a02d23f3f5bc64d83b27585e8a99 /src/doc/not_found.md | |
| parent | ecb5142ede119fc110a7911b933ccc6f54796466 (diff) | |
| download | rust-23af6bb4e3d5cc518eda86aa958db0cf4c1a55f9.tar.gz rust-23af6bb4e3d5cc518eda86aa958db0cf4c1a55f9.zip | |
dro -> duckduckgo
dro means "doc.rust-lang.org", but it is too cryptic.
Diffstat (limited to 'src/doc/not_found.md')
| -rw-r--r-- | src/doc/not_found.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/doc/not_found.md b/src/doc/not_found.md index d54798793cd..d26fcfc0168 100644 --- a/src/doc/not_found.md +++ b/src/doc/not_found.md @@ -45,7 +45,7 @@ Some things that might be helpful to you though: --> <fieldset id="search-from" style="display:none"> <label><input name="from" value="library" type="radio"> From the Standard Library</label> - <label><input name="from" value="dro" type="radio" checked> From DuckDuckGo</label> + <label><input name="from" value="duckduckgo" type="radio" checked> From DuckDuckGo</label> </fieldset> </form> </div> @@ -81,7 +81,7 @@ function on_submit(event) { event.preventDefault(); - if (form['from'].value === 'dro') { + if (form['from'].value === 'duckduckgo') { document.location.href = form.action + '?q=' + encodeURIComponent(q + ' site:doc.rust-lang.org'); } else if (form['from'].value === 'library') { document.location.href = 'std/index.html?search=' + encodeURIComponent(q); |
