diff --git a/core/module/config/view/index/index.js.php b/core/module/config/view/index/index.js.php index 631e0b3a..26c7d3c6 100644 --- a/core/module/config/view/index/index.js.php +++ b/core/module/config/view/index/index.js.php @@ -19,7 +19,6 @@ $( document).ready(function() { * Afficher et masquer options smtp */ if ($("input[name=smtpEnable]").is(':checked')) { - console.log("init"); $("#smtpParam").addClass("disabled"); $("#smtpParam").slideDown(); } else { @@ -59,7 +58,6 @@ $( document).ready(function() { * Afficher et masquer options smtp */ $("input[name=smtpEnable]").on("change", function() { - console.log("truc"); if ($("input[name=smtpEnable]").is(':checked')) { $("#smtpParam").addClass("disabled"); $("#smtpParam").slideDown(); diff --git a/core/module/theme/view/footer/footer.js.php b/core/module/theme/view/footer/footer.js.php index 7d9f4443..d5b349fc 100644 --- a/core/module/theme/view/footer/footer.js.php +++ b/core/module/theme/view/footer/footer.js.php @@ -87,8 +87,6 @@ $(".themeFooterContent").on("change",function() { textPosition = $("#themeFooterTextPosition").val(); textPosition = textPosition.substr(0,1).toUpperCase()+textPosition.substr(1); $("#footerText").show().appendTo("#footer" + footerPosition + textPosition); - //console.log("text"); - //console.log("#footer" + footerPosition + textPosition); break; } switch($("#themeFooterSocialsPosition").val()) { @@ -100,8 +98,6 @@ $(".themeFooterContent").on("change",function() { socialsPosition = $("#themeFooterSocialsPosition").val(); socialsPosition = socialsPosition.substr(0,1).toUpperCase()+socialsPosition.substr(1); $("#footerSocials").show().appendTo("#footer" + footerPosition + socialsPosition); - //console.log("socials"); - //console.log("#footer" + footerPosition + socialsPosition); break; } switch($("#themeFooterCopyrightPosition").val()) { @@ -113,8 +109,6 @@ $(".themeFooterContent").on("change",function() { copyrightPosition = $("#themeFooterCopyrightPosition").val(); copyrightPosition = copyrightPosition.substr(0,1).toUpperCase()+copyrightPosition.substr(1); $("#footerCopyright").show().appendTo("#footer" + footerPosition + copyrightPosition); - //console.log("copyright"); - //console.log("#footer" + footerPosition + copyrightPosition); break; } @@ -284,7 +278,6 @@ $("#themeFooterDisplayLegal").on("change", function() { // Pages spéciales : activation si une page est sélectionnée $("#configLegalPageId").on("change", function() { - console.log($("#configLegalPageId option:selected").text()); if ( $("#configLegalPageId option:selected").text() === 'Aucune') { $("#themeFooterDisplayLegal").prop('checked', false); $("#themeFooterDisplayLegal").prop( "disabled", true ); @@ -294,7 +287,6 @@ $("#configLegalPageId").on("change", function() { } }).trigger("change"); $("#configSearchPageId").on("change", function() { - console.log($("#configSearchPageId option:selected").text()); if ( $("#configSearchPageId option:selected").text() === 'Aucune') { $("#themeFooterDisplaySearch").prop('checked', false); $("#themeFooterDisplaySearch").prop( "disabled", true ); diff --git a/core/module/theme/view/header/header.js.php b/core/module/theme/view/header/header.js.php index 8e6c3790..60cc836a 100644 --- a/core/module/theme/view/header/header.js.php +++ b/core/module/theme/view/header/header.js.php @@ -168,9 +168,9 @@ $("input, select").on("change", function() { // Marge dans le site if( $("#themeHeaderMargin").is(":checked") && $("#themeHeaderPosition").val() === "site" - ) { console.log("truc") ; + ) { css += 'header{margin:20px 20px 0 20px !important;}'; - /*} else { console.log("truc2") ; + /*} else { css += 'header{margin:0 !important;}';*/ } diff --git a/core/module/theme/view/site/site.js.php b/core/module/theme/view/site/site.js.php index dc79cd70..f332f08a 100644 --- a/core/module/theme/view/site/site.js.php +++ b/core/module/theme/view/site/site.js.php @@ -22,7 +22,6 @@ $("input, select").on("change",function() { * Option de marge si la taille n'est pas fluide */ if ($('#themeSiteWidth').val() === '100%') { - console.log ("pop"); $("#themeSiteMarginWrapper").prop("checked", true); $("#themeSiteMarginWrapper").hide(); } else { diff --git a/core/vendor/lity/init.js b/core/vendor/lity/init.js index 6430085d..ee4859c2 100755 --- a/core/vendor/lity/init.js +++ b/core/vendor/lity/init.js @@ -4,4 +4,5 @@ $(document).ready(function() { $("a[rel='data-lity']").attr( "data-lity","" ); + $(".lity-content").addClass("notranslate"); }); \ No newline at end of file diff --git a/module/gallery/view/gallery/gallery.js.php b/module/gallery/view/gallery/gallery.js.php index 0b7c46b9..a03c9e95 100644 --- a/module/gallery/view/gallery/gallery.js.php +++ b/module/gallery/view/gallery/gallery.js.php @@ -26,7 +26,6 @@ var b = new SimpleLightbox('.galleryGalleryPicture', { $( document ).ready(function() { // Démarre en mode plein écran var fullscreen = getData(['module', $this->getUrl(0), $this->getUrl(1), 'config', 'fullScreen'])); ?>; - console.log(fullscreen); if ( fullscreen === true) { $('a#homePicture')[0].click(); }