armansansd il y a 3 ans
Parent
commit
82bbbe94dd
2 fichiers modifiés avec 6 ajouts et 4 suppressions
  1. 0 0
      web/themes/custom/popsu/js/main.js
  2. 6 4
      web/themes/custom/popsu/lib/script.js

Fichier diff supprimé car celui-ci est trop grand
+ 0 - 0
web/themes/custom/popsu/js/main.js


+ 6 - 4
web/themes/custom/popsu/lib/script.js

@@ -154,10 +154,12 @@ $(function(){
 			containers_id.forEach((element) => {
 				$("#"+element).fadeOut();
 			});
-			$("#"+$(this).data("dom")).fadeIn(function(){
-				if($(this).data("dom") == "home_themes-block_1"){
-					console.log("oll");
-					$("#home_themes-block_1").slick('refresh');
+			var d = $(this).data("dom");
+			$("#"+d).fadeIn(function(){
+
+				if(d == "home_themes-block_1"){
+					
+					$("#home_themes-block_1>div>div").slick('refresh');
 				}
 			});
 			

Certains fichiers n'ont pas été affichés car il y a eu trop de fichiers modifiés dans ce diff