removed autofocus in easylist
Signed-off-by: Stephan Richter <s.richter@srsoftware.de>
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
let filter = $state(null);
|
||||
let highlight = $state(null);
|
||||
let search = $derived(filter ? filter.toLowerCase() : null);
|
||||
let input;
|
||||
//let input;
|
||||
let tasks = $state(null);
|
||||
let router = useTinyRouter();
|
||||
let sorted = $derived(tasks ? Object.values(tasks).filter(noNoIndex).sort(byName) : null);
|
||||
@@ -57,7 +57,7 @@
|
||||
if (res.ok){
|
||||
yikes();
|
||||
tasks = await res.json();
|
||||
input.focus();
|
||||
//input.focus();
|
||||
} else error(res);
|
||||
}
|
||||
|
||||
@@ -166,6 +166,6 @@
|
||||
</fieldset>
|
||||
|
||||
<div class="filter">
|
||||
{t('filter')}: <input type="text" bind:value={filter} bind:this={input} />
|
||||
{t('filter')}: <input type="text" bind:value={filter} /> <!-- bind:this={input} -->
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user