summaryrefslogtreecommitdiff
path: root/src/client
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2019-05-27 18:03:13 +0900
committersyuilo <syuilotan@yahoo.co.jp>2019-05-27 18:03:13 +0900
commit6ca69f6f2e9c68eaeed5d3a73815cc9c15e576a1 (patch)
tree47a4ee98fe793e2fc2e33513aafff3f3f2a21d92 /src/client
parentFix bug (diff)
downloadsharkey-6ca69f6f2e9c68eaeed5d3a73815cc9c15e576a1.tar.gz
sharkey-6ca69f6f2e9c68eaeed5d3a73815cc9c15e576a1.tar.bz2
sharkey-6ca69f6f2e9c68eaeed5d3a73815cc9c15e576a1.zip
Fix #4999
Diffstat (limited to 'src/client')
-rw-r--r--src/client/app/desktop/views/components/notifications.vue8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/client/app/desktop/views/components/notifications.vue b/src/client/app/desktop/views/components/notifications.vue
index 9ca06f4118..6a8bc48ff2 100644
--- a/src/client/app/desktop/views/components/notifications.vue
+++ b/src/client/app/desktop/views/components/notifications.vue
@@ -104,18 +104,18 @@
<mk-user-name :user="notification.note.user"/>
</router-link>
</p>
- <a class="note-preview" :href="notification.note | notePage" :title="getNoteSummary(notification.note)">
+ <router-link class="note-preview" :to="notification.note | notePage" :title="getNoteSummary(notification.note)">
<mfm :text="getNoteSummary(notification.note)" :should-break="false" :plain-text="true" :custom-emojis="notification.note.emojis"/>
- </a>
+ </router-link>
</div>
</template>
<template v-if="notification.type == 'pollVote'">
<mk-avatar class="avatar" :user="notification.user"/>
<div class="text">
- <p><fa icon="chart-pie"/><a :href="notification.user | userPage" v-user-preview="notification.user.id">
+ <p><fa icon="chart-pie"/><router-link :to="notification.user | userPage" v-user-preview="notification.user.id">
<mk-user-name :user="notification.user"/>
- </a></p>
+ </router-link></p>
<router-link class="note-ref" :to="notification.note | notePage" :title="getNoteSummary(notification.note)">
<fa icon="quote-left"/>
<mfm :text="getNoteSummary(notification.note)" :should-break="false" :plain-text="true" :custom-emojis="notification.note.emojis"/>