Fix large text files not loading properly

This commit is contained in:
2021-12-14 20:04:05 +01:00
parent 3fc6cfd185
commit 5828c54412
2 changed files with 10 additions and 4 deletions

View File

@@ -70,7 +70,7 @@ const toggle_play = () => playing ? player.pause() : player.play()
</button>
<br/><br/>
{#if !audio_reload}
{#if file.id && !audio_reload}
<!-- svelte-ignore a11y-media-has-caption -->
<audio
bind:this={player}