fix mobile

This commit is contained in:
Bnyro 2022-07-22 20:54:52 +02:00
parent ded13b14c9
commit 6f0897a263

View file

@ -29,7 +29,7 @@
<div v-else class="flex overflow-x-auto">
<div
:key="chapter.start"
v-for="chapter in chapters"
v-for="(chapter, index) in chapters"
@click="$emit('seek', chapter.start)"
:class="isCurrentChapter(chapters, index, playerPosition) ? 'chapter bg-red-500/50' : 'chapter'"
>