mirror of
https://github.com/ClusterCockpit/cc-backend
synced 2025-10-03 21:14:30 +02:00
add function syntax to sveltestrap onclick events and others
- fixes event_handler_invalid svelte warning and blockage
This commit is contained in:
@@ -63,7 +63,7 @@
|
||||
class="btn btn-primary"
|
||||
type="button"
|
||||
id="edit-notice-button"
|
||||
on:click|preventDefault={handleEditNotice}>Edit Notice</button
|
||||
on:click|preventDefault={() => handleEditNotice}>Edit Notice</button
|
||||
>
|
||||
</div>
|
||||
<p>
|
||||
|
Reference in New Issue
Block a user