aboutsummaryrefslogtreecommitdiff
path: root/src/components/timeline/timeline.vue
diff options
context:
space:
mode:
authorShpuld Shpuldson <shp@cock.li>2020-11-24 12:32:42 +0200
committerShpuld Shpuldson <shp@cock.li>2020-11-24 12:32:42 +0200
commit7b99d98c553f40ec4d633d0d4fdf65f275c80e77 (patch)
treeb856ab6b3682b0f1df44511d142d99ae98310416 /src/components/timeline/timeline.vue
parent14ce0c1c073e17060a7d3cbe4352a5e9881c03dd (diff)
Replace all use of <a> + href='#' with proper buttons
Diffstat (limited to 'src/components/timeline/timeline.vue')
-rw-r--r--src/components/timeline/timeline.vue8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/components/timeline/timeline.vue b/src/components/timeline/timeline.vue
index d4da2a87..8ffa4499 100644
--- a/src/components/timeline/timeline.vue
+++ b/src/components/timeline/timeline.vue
@@ -4,7 +4,7 @@
<TimelineMenu v-if="!embedded" />
<button
v-if="showLoadButton"
- class="loadmore-button"
+ class="button-default loadmore-button"
@click.prevent="showNewStatuses"
>
{{ loadButtonString }}
@@ -61,13 +61,13 @@
>
{{ $t('timeline.no_more_statuses') }}
</div>
- <a
+ <button
v-else-if="!timeline.loading"
- href="#"
+ class="button-unstyled -link"
@click.prevent="fetchOlderStatuses()"
>
<div class="new-status-notification text-center panel-footer">{{ $t('timeline.load_older') }}</div>
- </a>
+ </button>
<div
v-else
class="new-status-notification text-center panel-footer"