Browse Source

Merge branch 'tusooa/1232-scroll-to-top' into 'develop'

Stop propogation for all top-bar buttons

Closes #1232

See merge request pleroma/pleroma-fe!1748
HJ 2 years ago
parent
commit
06068afe91
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/components/desktop_nav/desktop_nav.vue

+ 2 - 2
src/components/desktop_nav/desktop_nav.vue

@@ -38,7 +38,7 @@
         />
         <button
           class="button-unstyled nav-icon"
-          @click="openSettingsModal"
+          @click.stop="openSettingsModal"
         >
           <FAIcon
             fixed-width
@@ -65,7 +65,7 @@
         <button
           v-if="currentUser"
           class="button-unstyled nav-icon"
-          @click.prevent="logout"
+          @click.stop.prevent="logout"
         >
           <FAIcon
             fixed-width