diff options
Diffstat (limited to 'frontend/search.ts')
-rw-r--r-- | frontend/search.ts | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/frontend/search.ts b/frontend/search.ts index 3e510cb..bca2fc0 100644 --- a/frontend/search.ts +++ b/frontend/search.ts @@ -22,7 +22,7 @@ export function section_search(engine: string) { const heading = e("h1", {}, engine) bangs.then(bangs => heading.textContent = bangs[engine]?.name ?? engine) - const input = e("input", {type: "text"}) + const input = e("input", { type: "text" }) input.addEventListener("keydown", ev => { if (ev.code == "Enter") process_query(engine, input.value ?? "") }) @@ -51,6 +51,7 @@ function link_engine(engine: string) { id: "search-link", type: "application/opensearchdescription+xml", href: `/search.xml?default=${encodeURIComponent(engine)}`, - title: `Fastbangs (default engine: ${engine})`}) + title: `Fastbangs (default engine: ${engine})` + }) document.head.append(link) } |