mirror of
https://github.com/iptv-org/iptv-org.github.io.git
synced 2025-05-11 17:40:05 -04:00
Update ChannelPopup.svelte
This commit is contained in:
parent
152d50cec2
commit
3525449e40
1 changed files with 6 additions and 0 deletions
|
@ -9,6 +9,12 @@
|
|||
|
||||
const { close } = getContext('simple-modal')
|
||||
|
||||
window.onpopstate = event => {
|
||||
if (event.target.location.pathname === '/') {
|
||||
close()
|
||||
}
|
||||
}
|
||||
|
||||
const closePopup = () => {
|
||||
close()
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue