Przeglądaj źródła

set parent of parent node to display:none

Shinsuke Sugaya 8 lat temu
rodzic
commit
2187c930ed
1 zmienionych plików z 1 dodań i 1 usunięć
  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;
 		});