Explorar o código

set parent of parent node to display:none

Shinsuke Sugaya %!s(int64=8) %!d(string=hai) anos
pai
achega
2187c930ed
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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;
 		});