Rollup merge of #92642 - avborhanian:master, r=Dylan-DPC
Update search location from a relative path to absolute This should address issue #90311.
This commit is contained in:
commit
354e014b84
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user