|
|
|
@ -109,7 +109,7 @@
|
|
|
|
/>
|
|
|
|
/>
|
|
|
|
|
|
|
|
|
|
|
|
{#if $searching && ready}
|
|
|
|
{#if $searching && ready}
|
|
|
|
<div class="modal-background" on:click={close} />
|
|
|
|
<div class="modal-background" on:click={close} on:keyup={(e) => e.key === ' ' && close()} />
|
|
|
|
|
|
|
|
|
|
|
|
<div
|
|
|
|
<div
|
|
|
|
bind:this={modal}
|
|
|
|
bind:this={modal}
|
|
|
|
@ -140,9 +140,7 @@
|
|
|
|
modal.querySelector('a[data-has-node]')?.click();
|
|
|
|
modal.querySelector('a[data-has-node]')?.click();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}}
|
|
|
|
}}
|
|
|
|
on:input={(e) => {
|
|
|
|
on:input={(e) => ($query = e.currentTarget.value)}
|
|
|
|
$query = e.target.value;
|
|
|
|
|
|
|
|
}}
|
|
|
|
|
|
|
|
value={$query}
|
|
|
|
value={$query}
|
|
|
|
placeholder="Search"
|
|
|
|
placeholder="Search"
|
|
|
|
aria-describedby="search-description"
|
|
|
|
aria-describedby="search-description"
|
|
|
|
|