aboutsummaryrefslogtreecommitdiff
path: root/src/components/status/status.vue
diff options
context:
space:
mode:
authorshpuld <shp@cock.li>2019-01-30 19:15:35 +0200
committershpuld <shp@cock.li>2019-01-30 19:24:47 +0200
commit15603981f8309d979465c40175f9b3cd4f6617b4 (patch)
treeeb82d500358c6bbc83410617ccdd4d8b7372755e /src/components/status/status.vue
parent3cfbf0141f9e5c2c835699c5427d4829da412328 (diff)
Capture clicks on statuses to hijack mention clicks, match mention href to user somehow
Diffstat (limited to 'src/components/status/status.vue')
-rw-r--r--src/components/status/status.vue4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/components/status/status.vue b/src/components/status/status.vue
index d88428c7..45100a46 100644
--- a/src/components/status/status.vue
+++ b/src/components/status/status.vue
@@ -24,9 +24,9 @@
<div :class="[userClass, { highlighted: userStyle, 'is-retweet': retweet }]" :style="[ userStyle ]" class="media status">
<div v-if="!noHeading" class="media-left">
- <a :href="status.user.statusnet_profile_url" @click.stop.prevent.capture="toggleUserExpanded">
+ <router-link :to="userProfileLink" @click.stop.prevent.capture.native="toggleUserExpanded">
<StillImage class='avatar' :class="{'avatar-compact': compact, 'better-shadow': betterShadow}" :src="status.user.profile_image_url_original"/>
- </a>
+ </router-link>
</div>
<div class="status-body">
<div class="usercard media-body" v-if="userExpanded">