Do not focus channel when close button clicked

This fixes leaving channels and removing networks jumping to it before being removed
This commit is contained in:
Pavel Djundik 2019-11-11 15:31:24 +02:00
parent 2044bc88dd
commit 3a6b075745
2 changed files with 3 additions and 3 deletions

View File

@ -13,12 +13,12 @@
<span class="parted-channel-icon" />
</span>
<span class="close-tooltip tooltipped tooltipped-w" aria-label="Leave">
<button class="close" aria-label="Leave" @click="close" />
<button class="close" aria-label="Leave" @click.stop="close" />
</span>
</template>
<template v-else>
<span class="close-tooltip tooltipped tooltipped-w" aria-label="Close">
<button class="close" aria-label="Close" @click="close" />
<button class="close" aria-label="Close" @click.stop="close" />
</span>
</template>
</ChannelWrapper>

View File

@ -42,7 +42,7 @@
@click.stop="$emit('toggleJoinChannel')"
/>
</span>
<button class="close" hidden @click="close" />
<button class="close" hidden @click.stop="close" />
</ChannelWrapper>
</template>