add missing parentheses, fixing name not being cleared when should

This commit is contained in:
lilydjwg 2021-10-12 23:09:52 +08:00
parent 1b842ab3b5
commit 2d92876929

View File

@ -125,7 +125,7 @@
<input bind:this={input} type="text" <input bind:this={input} type="text"
on:input={() => {should_hide=false;may_complete()}} on:input={() => {should_hide=false;may_complete()}}
on:focus={() => should_hide=false} on:focus={() => should_hide=false}
on:blur={() => {setTimeout(() => should_hide=true, 100);update_value}} on:blur={() => {setTimeout(() => should_hide=true, 100);update_value()}}
on:keydown={select_by_key} on:keydown={select_by_key}
/> />
<img class="selected-avatar" alt="" src="{url}/avatar/{selected?selected:'nobody'}.jpg"/> <img class="selected-avatar" alt="" src="{url}/avatar/{selected?selected:'nobody'}.jpg"/>