small refactor modals
This commit is contained in:
1 parent
bd389473e5
commit
c69ab716f5
5 files changed
+25
-15
No files matched your search
@@ -23,6 +23,9 @@
|
||||
|
||||
export function close() {
|
||||
modal.close();
|
||||
}
|
||||
|
||||
export function onClose() {
|
||||
videoStartAtChecked = false;
|
||||
videoStartAtTimestamp = 0;
|
||||
}
|
||||
@@ -83,7 +86,7 @@
|
||||
}
|
||||
</script>
|
||||
|
||||
<dialog bind:this={modal} class="modal">
|
||||
<dialog bind:this={modal} class="modal" on:close={onClose}>
|
||||
<form method="dialog" class="modal-box bg-base-100">
|
||||
<div class="flex flex-col items-center">
|
||||
<div class="w-64">
|
||||
|
||||
Reference in new issue
Block a user