Shinsuke Sugaya 11 年之前
父节点
当前提交
444145c0d5
共有 1 个文件被更改,包括 6 次插入0 次删除
  1. 6 0
      src/main/webapp/js/search.js

+ 6 - 0
src/main/webapp/js/search.js

@@ -74,6 +74,12 @@ $(function(){
 		}
 	});
 
+	$result.on('mouseout', 'a.link', function(e){
+		if($screenshot.size() > 0) {
+			$screenshot.children().remove();
+		}
+	});
+
 	$result.on('click', 'a.favorite', function(e){
 		var $favorite = $(this);
 		var values = $favorite.attr('href').split('#');