diff options
| author | shpuld <shp@cock.li> | 2019-03-23 22:03:38 +0200 |
|---|---|---|
| committer | shpuld <shp@cock.li> | 2019-03-23 22:03:38 +0200 |
| commit | 85584021fb1042a8934945d73f7d25b38f1c29d1 (patch) | |
| tree | 3cde5ccc823cd42083e5ab0e0f0113b1e0a7dac1 /src/components/mobile_nav/mobile_nav.vue | |
| parent | f389128e539ffce0ef552e8b67f7b6973e134baf (diff) | |
make notifications close on navigation
Diffstat (limited to 'src/components/mobile_nav/mobile_nav.vue')
| -rw-r--r-- | src/components/mobile_nav/mobile_nav.vue | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/components/mobile_nav/mobile_nav.vue b/src/components/mobile_nav/mobile_nav.vue index 514931f0..39622fad 100644 --- a/src/components/mobile_nav/mobile_nav.vue +++ b/src/components/mobile_nav/mobile_nav.vue @@ -8,7 +8,7 @@ <router-link class="site-name" :to="{ name: 'root' }" active-class="home">{{sitename}}</router-link> </div> <div class='item right'> - <a class="mobile-nav-button" v-if="currentUser" href="#" @click.stop.prevent="toggleMobileNotifications()"> + <a class="mobile-nav-button" v-if="currentUser" href="#" @click.stop.prevent="openMobileNotifications()"> <i class="button-icon icon-bell-alt"></i> <div class="alert-dot" v-if="unseenNotificationsCount"></div> </a> @@ -18,7 +18,7 @@ <div v-if="currentUser" class="mobile-notifications-drawer" :class="{ 'closed': !notificationsOpen }"> <div class="mobile-notifications-header"> <span class="title">{{$t('notifications.notifications')}}</span> - <a class="mobile-nav-button" @click.stop.prevent="toggleMobileNotifications()"> + <a class="mobile-nav-button" @click.stop.prevent="closeMobileNotifications()"> <i class="button-icon icon-cancel"/> </a> </div> |
