armansansd 3 년 전
부모
커밋
f3a17ada41
2개의 변경된 파일5개의 추가작업 그리고 0개의 파일을 삭제
  1. 0 0
      web/themes/custom/popsu/assets/js/main.js
  2. 5 0
      web/themes/custom/popsu/lib/script.js

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 0 - 0
web/themes/custom/popsu/assets/js/main.js


+ 5 - 0
web/themes/custom/popsu/lib/script.js

@@ -438,5 +438,10 @@ if($(".page-node-type-static").length > 0){
 	});
 }
 
+//hide empty or unclickable sidebar 
+if($(".block-region-first").find("a").length == 0 ){
+	$(".block-region-first").hide();
+};
+
 	
 });

이 변경점에서 너무 많은 파일들이 변경되어 몇몇 파일들은 표시되지 않았습니다.