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:
parent
2044bc88dd
commit
3a6b075745
@ -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>
|
||||
|
@ -42,7 +42,7 @@
|
||||
@click.stop="$emit('toggleJoinChannel')"
|
||||
/>
|
||||
</span>
|
||||
<button class="close" hidden @click="close" />
|
||||
<button class="close" hidden @click.stop="close" />
|
||||
</ChannelWrapper>
|
||||
</template>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user