Skip to content

Commit

Permalink
$ Remove unnecessary template tag
Browse files Browse the repository at this point in the history
  • Loading branch information
PikachuEXE committed Dec 29, 2024
1 parent bf07ad5 commit 04c54ab
Showing 1 changed file with 22 additions and 26 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,17 @@
v-if="shownDescription.length > 0"
:class="{ videoDescription: true, short: !showFullDescription }"
>
<template v-if="showControls">
<span
v-if="!showFullDescription"
class="descriptionStatus"
role="button"
tabindex="0"
@click="expandDescription"
@keydown.space.prevent="expandDescription"
@keydown.enter.prevent="expandDescription"
>
{{ $t("Description.Expand Description") }}
</span>
</template>
<span
v-if="showControls && !showFullDescription"
class="descriptionStatus"
role="button"
tabindex="0"
@click="expandDescription"
@keydown.space.prevent="expandDescription"
@keydown.enter.prevent="expandDescription"
>
{{ $t("Description.Expand Description") }}
</span>
<FtTimestampCatcher
ref="descriptionContainer"
class="description"
Expand All @@ -24,19 +22,17 @@
@timestamp-event="onTimestamp"
@text-click="expandDescription"
/>
<template v-if="showControls">
<span
v-if="showFullDescription"
class="descriptionStatus"
role="button"
tabindex="0"
@click="collapseDescription"
@keydown.space.prevent="collapseDescription"
@keydown.enter.prevent="collapseDescription"
>
{{ $t("Description.Collapse Description") }}
</span>
</template>
<span
v-if="showControls && showFullDescription"
class="descriptionStatus"
role="button"
tabindex="0"
@click="collapseDescription"
@keydown.space.prevent="collapseDescription"
@keydown.enter.prevent="collapseDescription"
>
{{ $t("Description.Collapse Description") }}
</span>
</FtCard>
</template>

Expand Down

0 comments on commit 04c54ab

Please sign in to comment.