diff --git a/.gitignore b/.gitignore index 170453b..b8ab5de 100644 --- a/.gitignore +++ b/.gitignore @@ -2,4 +2,5 @@ node_modules dist public .cache -.env \ No newline at end of file +.env +.now \ No newline at end of file diff --git a/src/components/App.svelte b/src/components/App.svelte index ec35609..e243f27 100644 --- a/src/components/App.svelte +++ b/src/components/App.svelte @@ -21,11 +21,65 @@ \ No newline at end of file diff --git a/src/components/Viewer.svelte b/src/components/Viewer.svelte index e1f3721..32a47e2 100644 --- a/src/components/Viewer.svelte +++ b/src/components/Viewer.svelte @@ -20,20 +20,22 @@ LOADING TRACK {/if} - {#if duration} +
{currentTimeText} updateCurrentTime(event.target.value, false)} on:change={event => updateCurrentTime(event.target.value, true)} + disabled={currentTime === null || duration === null} > {durationText} - {/if} +
+