[9.1.13] footer.js stable

This commit is contained in:
fredtempez 2019-06-19 21:42:10 +02:00
parent 5688d78bb4
commit c5825f7c0a

View File

@ -68,7 +68,7 @@ $("input, select").on("change", function() {
// Position dans les blocs // Position dans les blocs
// Bloc texte personnalisé // Bloc texte personnalisé
$(".themeFooterContent").on("change",function() { $(".themeFooterContent").on("change",function() {
var position = $(".themeFooterContent").val(); var position = $("#themeFooterPosition").val();
switch($("#themeFooterTextPosition").val()) { switch($("#themeFooterTextPosition").val()) {
case "hide": case "hide":
$("#footerText").hide(); $("#footerText").hide();
@ -134,7 +134,6 @@ $("#themeFooterTemplate").on("change",function() {
$("#footerCopyright").hide(); $("#footerCopyright").hide();
$("#footerText").hide(); $("#footerText").hide();
$("#footerSocials").hide(); $("#footerSocials").hide();
console.log(position);
switch($("#themeFooterTemplate").val()) { switch($("#themeFooterTemplate").val()) {
case "1": case "1":
$("#footer" + position + "Left").css("display","none"); $("#footer" + position + "Left").css("display","none");