aboutsummaryrefslogtreecommitdiff
path: root/src/components/retweet_button/retweet_button.vue
diff options
context:
space:
mode:
authorTusooa Zhu <tusooa@kazv.moe>2021-12-28 18:30:34 -0500
committerTusooa Zhu <tusooa@kazv.moe>2022-07-01 13:03:45 -0400
commit5cd18be47b53d62c3f5bc6587a04ae3e0479d23c (patch)
tree0e5e94e2494ed094dbdee36af12d9b4ddb92ad2e /src/components/retweet_button/retweet_button.vue
parent56501e95c42859a826ad0f0b11de4e6b189b9f92 (diff)
Enable anonymous users to interact with statuses remotely
Diffstat (limited to 'src/components/retweet_button/retweet_button.vue')
-rw-r--r--src/components/retweet_button/retweet_button.vue10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/components/retweet_button/retweet_button.vue b/src/components/retweet_button/retweet_button.vue
index 859ce499..6e5980ac 100644
--- a/src/components/retweet_button/retweet_button.vue
+++ b/src/components/retweet_button/retweet_button.vue
@@ -20,13 +20,19 @@
:title="$t('timeline.no_retweet_hint')"
/>
</span>
- <span v-else>
+ <a
+ v-else
+ class="button-unstyled interactive"
+ target="_blank"
+ role="button"
+ :href="remoteInteractionLink"
+ >
<FAIcon
class="fa-scale-110 fa-old-padding"
icon="retweet"
:title="$t('tool_tip.repeat')"
/>
- </span>
+ </a>
<span
v-if="!mergedConfig.hidePostStats && status.repeat_num > 0"
class="no-event"