diff options
| author | Shpuld Shpuldson <shp@cock.li> | 2020-11-24 12:32:42 +0200 |
|---|---|---|
| committer | Shpuld Shpuldson <shp@cock.li> | 2020-11-24 12:32:42 +0200 |
| commit | 7b99d98c553f40ec4d633d0d4fdf65f275c80e77 (patch) | |
| tree | b856ab6b3682b0f1df44511d142d99ae98310416 /src/components/notification/notification.vue | |
| parent | 14ce0c1c073e17060a7d3cbe4352a5e9881c03dd (diff) | |
Replace all use of <a> + href='#' with proper buttons
Diffstat (limited to 'src/components/notification/notification.vue')
| -rw-r--r-- | src/components/notification/notification.vue | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/src/components/notification/notification.vue b/src/components/notification/notification.vue index 2bbde108..ba3648fd 100644 --- a/src/components/notification/notification.vue +++ b/src/components/notification/notification.vue @@ -14,14 +14,13 @@ {{ notification.from_profile.screen_name }} </router-link> </small> - <a - href="#" - class="unmute" + <button + class="button-unstyled unmute" @click.prevent="toggleMute" ><FAIcon class="fa-scale-110 fa-old-padding" icon="eye-slash" - /></a> + /></button> </div> <div v-else @@ -132,14 +131,14 @@ /> </span> </div> - <a + <button v-if="needMute" - href="#" + class="button-unstyled" @click.prevent="toggleMute" ><FAIcon class="fa-scale-110 fa-old-padding" icon="eye-slash" - /></a> + /></button> </span> <div v-if="notification.type === 'follow' || notification.type === 'follow_request'" |
