Просмотр исходного кода

set parent of parent node to display:none

Shinsuke Sugaya 8 лет назад
Родитель
Сommit
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;
 		});