Browse Source

Merge branch 'master' of gogs-figureslibres.io:bachir/popsu-d9

bach 3 years ago
parent
commit
531a75294f
2 changed files with 6 additions and 4 deletions
  1. 0 0
      web/themes/custom/popsu/js/main.js
  2. 6 4
      web/themes/custom/popsu/lib/script.js

File diff suppressed because it is too large
+ 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');
 				}
 			});
 			

Some files were not shown because too many files changed in this diff