Index: gc_lang/fr/webext/content_scripts/menu.js ================================================================== --- gc_lang/fr/webext/content_scripts/menu.js +++ gc_lang/fr/webext/content_scripts/menu.js @@ -56,13 +56,12 @@ _createListeners () { this.xNode.addEventListener('focus', (e) => { if (this.bShadow) { this.xShadowBtn.style.display = "block"; - } else { - this.xButton.style.display = "block"; } + this.xButton.style.display = "block"; }); /*this.xNode.addEventListener('blur', (e) => { window.setTimeout(() => {this.xButton.style.display = "none";}, 300); });*/ } @@ -155,10 +154,9 @@ } switchMenu () { if (this.bShadow) { this.xShadowMenu.style.display = (this.xShadowMenu.style.display == "block") ? "none" : "block"; - } else { - this.xMenu.style.display = (this.xMenu.style.display == "block") ? "none" : "block"; } + this.xMenu.style.display = (this.xMenu.style.display == "block") ? "none" : "block"; } }