瀏覽代碼

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;
 		});