fix for dropdown

This commit is contained in:
Rohithk 2023-10-12 20:59:54 +05:30
commit fd24218c31

View file

@ -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)
}
})
}, [])