Update ChannelPopup.svelte

This commit is contained in:
freearhey 2023-10-10 08:30:44 +03:00
parent 152d50cec2
commit 3525449e40

View file

@ -9,6 +9,12 @@
const { close } = getContext('simple-modal')
window.onpopstate = event => {
if (event.target.location.pathname === '/') {
close()
}
}
const closePopup = () => {
close()
}