소스 검색

set parent of parent node to display:none

Shinsuke Sugaya 8 년 전
부모
커밋
2187c930ed
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/main/webapp/js/search.js

+ 1 - 1
src/main/webapp/js/search.js

@@ -217,7 +217,7 @@ $(function() {
 				}, IMG_LOADING_DELAY);
 			} else {
 				// $(img).attr('src', contextPath + "/images/noimage.png");
-				$(img).parent().css('display', 'none');
+				$(img).parent().parent().css('display', 'none');
 			}
 			imgData = null;
 		});