further cleanups

This commit is contained in:
2025-02-12 13:57:41 +01:00
parent b5a740c302
commit d50499f41f
5 changed files with 26 additions and 32 deletions

View File

@@ -1,7 +1,6 @@
<script lang="ts">
import { page } from '$app/stores';
import { tagList } from '$lib/stores.js';
import { run } from 'svelte/legacy';
let { original = $bindable() } = $props();
@@ -14,7 +13,7 @@
});
};
run(() => {
$effect.pre(() => {
reloadTags(original);
});
</script>
@@ -24,7 +23,7 @@
<br />
<label>
<p>Title:</p>
<input type="text" name="title" bind:value={original.title} />
<input type="text" name="title" value={original.title} />
</label>
<br />
@@ -33,7 +32,7 @@
<textarea
style="min-width:400px;min-height:100px"
name="description"
bind:value={original.description}
value={original.description}
></textarea>
</label>
<br />

View File

@@ -293,7 +293,7 @@
<audio
bind:this={audio}
bind:paused
bind:duration
bind:duration={null, (d) => (duration = d || 0)}
bind:currentTime
{muted}
{volume}