Forráskód Böngészése

Stop propogation for all top-bar buttons

tusooa 2 éve
szülő
commit
6d0b3d4d0a
1 módosított fájl, 2 hozzáadás és 2 törlés
  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