Merge pull request #1456 from Bnyro/master

fix chapters btn
This commit is contained in:
Bnyro 2022-09-19 22:24:28 +02:00 committed by GitHub
commit 860ca92a4d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -138,14 +138,8 @@
v-t="`actions.${showDesc ? 'minimize_description' : 'show_description'}`"
/>
<span class="btn">
<input
v-show="video?.chapters?.length > 0"
id="showChapters"
type="checkbox"
checked
v-model="showChapters"
/>
<span class="btn" v-show="video?.chapters?.length > 0">
<input id="showChapters" type="checkbox" v-model="showChapters" />
<label class="ml-2" for="showChapters" v-t="'actions.show_chapters'" />
</span>