diff --git a/core/module/translate/view/index/index.js.php b/core/module/translate/view/index/index.js.php index de2c4665..33783820 100644 --- a/core/module/translate/view/index/index.js.php +++ b/core/module/translate/view/index/index.js.php @@ -17,12 +17,10 @@ $(document).ready(function() { if (translateLayout == null) { translateLayout = "content"; setCookie("translateLayout", "content"); - // Afficher les boutons liés au contenu - $(".contentButtonContainer").show(); + } $("#contentContainer").hide(); $("#uiContainer").hide(); - $(".contentButtonContainer").hide(); $("#" + translateLayout + "Container").show(); $("#translate" + capitalizeFirstLetter(translateLayout) + "Button").addClass("activeButton"); @@ -37,8 +35,6 @@ $("#translateUiButton").on("click", function() { $(this).addClass("activeButton"); $("#translateContentButton").removeClass("activeButton"); setCookie("translateLayout", "ui"); - // Cacher les boutons liés au contenu - $(".contentButtonContainer").hide(); }); $("#translateContentButton").on("click", function() { diff --git a/core/module/translate/view/index/index.php b/core/module/translate/view/index/index.php index 64a9a130..d899b19e 100644 --- a/core/module/translate/view/index/index.php +++ b/core/module/translate/view/index/index.php @@ -16,22 +16,7 @@ 'help' => 'Consulter l\'aide en ligne' ]);*/ ?> -