fix for dropdown
This commit is contained in:
parent
f289075339
commit
fd24218c31
1 changed files with 2 additions and 0 deletions
|
|
@ -168,6 +168,8 @@ const Tv = () => {
|
|||
document.addEventListener("mousedown", (event) => {
|
||||
if (event.target !== "iframe" && event.target.tagName.toLowerCase() !== "span") {
|
||||
switchLight(false)
|
||||
setEpisodeDropDown(false)
|
||||
setSeasonDropDown(false)
|
||||
}
|
||||
})
|
||||
}, [])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue