Improved video full screen detection.
This commit is contained in:
@@ -162,12 +162,12 @@
|
||||
|
||||
// Functions
|
||||
const controlManager = () => {
|
||||
if (ytEnhancerMenu.style.display == "block") {
|
||||
ytEnhancerMenu.style.display = "none";
|
||||
slugInputTag.style.display = "none";
|
||||
} else {
|
||||
if (window.innerHeight == screen.height) {
|
||||
ytEnhancerMenu.style.display = "block";
|
||||
slugInputTag.style.display = "block";
|
||||
} else {
|
||||
ytEnhancerMenu.style.display = "none";
|
||||
slugInputTag.style.display = "none";
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user