diff --git a/web/frontend/src/config/admin/EditProject.svelte b/web/frontend/src/config/admin/EditProject.svelte index 53a4e7ef..0623f12e 100644 --- a/web/frontend/src/config/admin/EditProject.svelte +++ b/web/frontend/src/config/admin/EditProject.svelte @@ -114,13 +114,13 @@ class="btn btn-primary" type="button" id="add-project-button" - on:click|preventDefault={() => handleAddProject}>Add handleAddProject()}>Add handleRemoveProject()}>Remove
diff --git a/web/frontend/src/config/admin/EditRole.svelte b/web/frontend/src/config/admin/EditRole.svelte index c02a253f..c351ab90 100644 --- a/web/frontend/src/config/admin/EditRole.svelte +++ b/web/frontend/src/config/admin/EditRole.svelte @@ -119,13 +119,13 @@ class="btn btn-primary" type="button" id="add-role-button" - on:click|preventDefault={() => handleAddRole}>Add handleAddRole()}>Add handleRemoveRole()}>Remove
diff --git a/web/frontend/src/config/admin/NoticeEdit.svelte b/web/frontend/src/config/admin/NoticeEdit.svelte index fba168fc..497f4e35 100644 --- a/web/frontend/src/config/admin/NoticeEdit.svelte +++ b/web/frontend/src/config/admin/NoticeEdit.svelte @@ -63,7 +63,7 @@ class="btn btn-primary" type="button" id="edit-notice-button" - on:click|preventDefault={() => handleEditNotice}>Edit Notice handleEditNotice()}>Edit Notice
diff --git a/web/frontend/src/config/admin/Options.svelte b/web/frontend/src/config/admin/Options.svelte index a745c20f..aa762de9 100644 --- a/web/frontend/src/config/admin/Options.svelte +++ b/web/frontend/src/config/admin/Options.svelte @@ -33,7 +33,7 @@ type="checkbox" id="scramble-names-checkbox" style="margin-right: 1em;" - on:click={() => handleScramble} + on:click={() => handleScramble()} bind:checked={scrambled} /> Active? diff --git a/web/frontend/src/config/admin/ShowUsers.svelte b/web/frontend/src/config/admin/ShowUsers.svelte index dfe1c5b3..60696094 100644 --- a/web/frontend/src/config/admin/ShowUsers.svelte +++ b/web/frontend/src/config/admin/ShowUsers.svelte @@ -53,7 +53,7 @@
diff --git a/web/frontend/src/generic/helper/TextFilter.svelte b/web/frontend/src/generic/helper/TextFilter.svelte index 08f1b2be..9bb2b549 100644 --- a/web/frontend/src/generic/helper/TextFilter.svelte +++ b/web/frontend/src/generic/helper/TextFilter.svelte @@ -107,7 +107,7 @@ placeholder={presetProject ? `Find ${mode} in ${scrambleNames ? scramble(presetProject) : presetProject} ...` : `Find ${mode} ...`} /> {#if presetProject} -