diff --git a/README.md b/README.md index 76a530a..2bae6b4 100644 --- a/README.md +++ b/README.md @@ -9,8 +9,8 @@ Better YouTube + works to improve the YouTube experience by providing quick acce * It allows for quick access to the YouTube video slug. * It lets Unix, Linux, and MacOS systems the ability to download the video using native app calls. -# Version: 1.3.8 -* Improved video full screen detection. +# Version: 1.3.9 +* Tried further Improving video full screen detection. # Download https://addons.mozilla.org/en-US/firefox/addon/better-youtube-plus/ diff --git a/src/manifest.json b/src/manifest.json index 4f85b2a..f0dc532 100644 --- a/src/manifest.json +++ b/src/manifest.json @@ -1,7 +1,7 @@ { "manifest_version": 2, "name": "Better Youtube +", - "version": "1.3.8", + "version": "1.3.9", "description": "Enhancements for Youtube to have a better experience.", "applications": { diff --git a/src/scripts/betterYoutube.js b/src/scripts/betterYoutube.js index 663a2a1..2e3de1b 100644 --- a/src/scripts/betterYoutube.js +++ b/src/scripts/betterYoutube.js @@ -162,13 +162,15 @@ // Functions const controlManager = () => { - if (window.innerHeight == screen.height) { - ytEnhancerMenu.style.display = "block"; - slugInputTag.style.display = "block"; - } else { - ytEnhancerMenu.style.display = "none"; - slugInputTag.style.display = "none"; - } + setTimeout(function () { + if (window.innerHeight !== screen.height) { + ytEnhancerMenu.style.display = "block"; + slugInputTag.style.display = "block"; + } else { + ytEnhancerMenu.style.display = "none"; + slugInputTag.style.display = "none"; + } + }, 200); } const downloadVideo = () => {