show rules popup when accepting them on register
All checks were successful
delpoy / build-and-deploy (push) Successful in 43s

This commit is contained in:
2023-09-26 22:42:11 +02:00
parent ccc022f5f0
commit c57e514613
4 changed files with 211 additions and 115 deletions

View File

@@ -17,6 +17,9 @@
function input(e: Event & { currentTarget: EventTarget & HTMLInputElement }) {
dispatch('input', e);
}
function click(e: Event) {
dispatch('click', e);
}
let initialType = type;
@@ -43,6 +46,7 @@
bind:value
bind:this={inputElement}
on:input={input}
on:click={click}
/>
{:else}
<div>
@@ -85,6 +89,7 @@
value = e.target?.value;
input(e);
}}
on:click={click}
/>
{#if initialType === 'password'}
<button