diff options
| author | avborhanian <avborhanian@gmail.com> | 2022-01-07 01:29:20 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-01-07 01:29:20 -0800 |
| commit | f3f6891be2cc84d0ca15ba02a3d564b9d53805cc (patch) | |
| tree | 8d08686b7645e397f9b3613de1fda9d44a3cd5f2 | |
| parent | e012a191d768adeda1ee36a99ef8b92d51920154 (diff) | |
| download | rust-f3f6891be2cc84d0ca15ba02a3d564b9d53805cc.tar.gz rust-f3f6891be2cc84d0ca15ba02a3d564b9d53805cc.zip | |
Update location from a relative path to absolute
| -rw-r--r-- | src/doc/not_found.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/doc/not_found.md b/src/doc/not_found.md index d26fcfc0168..f0794fc0be3 100644 --- a/src/doc/not_found.md +++ b/src/doc/not_found.md @@ -84,7 +84,7 @@ function on_submit(event) { 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); + document.location.href = '/std/index.html?search=' + encodeURIComponent(q); } } |
