From 002cd9134d2e23bec34f838f6d6fefba41f2d530 Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Fri, 18 Oct 2024 09:08:07 -0700 Subject: biome format --- src/components/LocationsMap.svelte | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'src/components/LocationsMap.svelte') diff --git a/src/components/LocationsMap.svelte b/src/components/LocationsMap.svelte index 6c213525..4c3532b3 100644 --- a/src/components/LocationsMap.svelte +++ b/src/components/LocationsMap.svelte @@ -51,13 +51,18 @@ $: list = search ? markers.filter((m) => - m.tags.name.toLowerCase().includes(search.toLowerCase()) + m.tags.name.toLowerCase().includes(search.toLowerCase()), ) : inview; let scroll = () => { const el = document.querySelector(".selected"); - if (el) el.scrollIntoView({ behavior: "smooth", block: "nearest", inline: "nearest" }); + if (el) + el.scrollIntoView({ + behavior: "smooth", + block: "nearest", + inline: "nearest", + }); }; let selected; -- cgit v1.2.3