aboutsummaryrefslogtreecommitdiff
path: root/src/components/mobile_nav/mobile_nav.vue
diff options
context:
space:
mode:
authorShpuld Shpuldson <shp@cock.li>2020-12-04 11:20:01 +0200
committerShpuld Shpuldson <shp@cock.li>2020-12-04 11:20:01 +0200
commit1fd1553a1c06f22ce5718b16814d0f03688fdc06 (patch)
tree6416934d1cf657b4b7fe27f628add4940c356a74 /src/components/mobile_nav/mobile_nav.vue
parent15bed586dcd1d10a6a05c664cf5bab72cdbf2a46 (diff)
parent42c747a342cd7d435dcbe411276ac4999ff92395 (diff)
Merge branch 'develop' into feat/report-notification
Diffstat (limited to 'src/components/mobile_nav/mobile_nav.vue')
-rw-r--r--src/components/mobile_nav/mobile_nav.vue14
1 files changed, 6 insertions, 8 deletions
diff --git a/src/components/mobile_nav/mobile_nav.vue b/src/components/mobile_nav/mobile_nav.vue
index 5304a500..0f0ea457 100644
--- a/src/components/mobile_nav/mobile_nav.vue
+++ b/src/components/mobile_nav/mobile_nav.vue
@@ -9,9 +9,8 @@
@click="scrollToTop()"
>
<div class="item">
- <a
- href="#"
- class="mobile-nav-button"
+ <button
+ class="button-unstyled mobile-nav-button"
@click.stop.prevent="toggleMobileSidebar()"
>
<FAIcon
@@ -22,7 +21,7 @@
v-if="unreadChatCount"
class="alert-dot"
/>
- </a>
+ </button>
<router-link
v-if="!hideSitename"
class="site-name"
@@ -33,10 +32,9 @@
</router-link>
</div>
<div class="item right">
- <a
+ <button
v-if="currentUser"
- class="mobile-nav-button"
- href="#"
+ class="button-unstyled mobile-nav-button"
@click.stop.prevent="openMobileNotifications()"
>
<FAIcon
@@ -47,7 +45,7 @@
v-if="unseenNotificationsCount"
class="alert-dot"
/>
- </a>
+ </button>
</div>
</nav>
<div