forked from mirrors/bookwyrm
Fix typos with searching
This commit is contained in:
parent
fcc8b6aaab
commit
649ffe571a
1 changed files with 1 additions and 1 deletions
|
@ -689,7 +689,7 @@ let BookWyrm = new (class {
|
||||||
statusNode.querySelector('.isbn').innerText = code;
|
statusNode.querySelector('.isbn').innerText = code;
|
||||||
toggleStatus('found');
|
toggleStatus('found');
|
||||||
|
|
||||||
const search = new Url('search');
|
const search = new URL('/search', document.location);
|
||||||
search.searchParams.set('q', code);
|
search.searchParams.set('q', code);
|
||||||
|
|
||||||
cleanup();
|
cleanup();
|
||||||
|
|
Loading…
Reference in a new issue