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 class="parted-channel-icon" />
|
||||||
</span>
|
</span>
|
||||||
<span class="close-tooltip tooltipped tooltipped-w" aria-label="Leave">
|
<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>
|
</span>
|
||||||
</template>
|
</template>
|
||||||
<template v-else>
|
<template v-else>
|
||||||
<span class="close-tooltip tooltipped tooltipped-w" aria-label="Close">
|
<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>
|
</span>
|
||||||
</template>
|
</template>
|
||||||
</ChannelWrapper>
|
</ChannelWrapper>
|
||||||
|
@ -42,7 +42,7 @@
|
|||||||
@click.stop="$emit('toggleJoinChannel')"
|
@click.stop="$emit('toggleJoinChannel')"
|
||||||
/>
|
/>
|
||||||
</span>
|
</span>
|
||||||
<button class="close" hidden @click="close" />
|
<button class="close" hidden @click.stop="close" />
|
||||||
</ChannelWrapper>
|
</ChannelWrapper>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user