Fix typos with searching

This commit is contained in:
Vivianne Langdon 2022-02-26 18:29:38 -08:00
parent fcc8b6aaab
commit 649ffe571a

View file

@ -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();