diff --git a/src/components/Post.vue b/src/components/Post.vue index e5d1fe3..5fe1135 100644 --- a/src/components/Post.vue +++ b/src/components/Post.vue @@ -26,7 +26,7 @@ title="Go to previous post" @mouseover="highlight(post.in_reply_to_id)" @mouseleave="highlight(null)" - @click="navigateTo($event, post.in_reply_to_id)" + @click.prevent="scrollTo(post.in_reply_to_id)" > @@ -41,7 +41,7 @@ class="timestamp" :href="post.uri" :title="formatDate(post.created_at)" - @click="navigateTo($event, post.id)" + @click="openPost($event, post.id)" > {{ humanizeDate(post.created_at) }} @@ -71,7 +71,7 @@ class="post-quote" :href="linkedPost.uri" :key="linkedPost.id" - @click="navigateTo($event, linkedPost.id)" + @click="openPost($event, linkedPost.id, true)" >