mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-12-23 14:03:10 +02:00
refactor(client): improve readability
This commit is contained in:
parent
4b7b51d5cc
commit
187696c973
1 changed files with 2 additions and 6 deletions
|
@ -1,8 +1,7 @@
|
|||
<template>
|
||||
<button
|
||||
<button v-if="canRenote"
|
||||
class="eddddedb _button canRenote"
|
||||
@click="renote()"
|
||||
v-if="canRenote"
|
||||
@touchstart.passive="onMouseover"
|
||||
@mouseover="onMouseover"
|
||||
@mouseleave="onMouseleave"
|
||||
|
@ -12,10 +11,7 @@
|
|||
<i class="fas fa-retweet"></i>
|
||||
<p class="count" v-if="count > 0">{{ count }}</p>
|
||||
</button>
|
||||
<button
|
||||
v-else
|
||||
class="button _button"
|
||||
>
|
||||
<button v-else class="eddddedb _button">
|
||||
<i class="fas fa-ban"></i>
|
||||
</button>
|
||||
</template>
|
||||
|
|
Loading…
Reference in a new issue