minor fixes
This commit is contained in:
parent
675a66f888
commit
8b50c614c3
1 changed files with 4 additions and 4 deletions
|
@ -1,5 +1,5 @@
|
|||
$(function() {
|
||||
var $result = $('#result')
|
||||
var $result = $('#result');
|
||||
var $queryId = $('#queryId');
|
||||
var $favorites = $('.favorite', $result);
|
||||
var $screenshot = $('#screenshot', $result);
|
||||
|
@ -77,7 +77,7 @@ $(function() {
|
|||
|
||||
var content = '<a href="' + buf.join('')
|
||||
+ '"><img src="screenshot?queryId=' + queryId + '&docId='
|
||||
+ docId + '"></a>'
|
||||
+ docId + '"></a>';
|
||||
$screenshot.append(content);
|
||||
$('img', $screenshot).error(function() {
|
||||
$screenshot.children().remove();
|
||||
|
@ -118,7 +118,7 @@ $(function() {
|
|||
$favorited);
|
||||
$favoritedCount.css('display', 'none');
|
||||
$favorite.fadeOut(1000, function() {
|
||||
$favorited.fadeIn(1000)
|
||||
$favorited.fadeIn(1000);
|
||||
});
|
||||
}
|
||||
}).fail(function(data) {
|
||||
|
@ -164,7 +164,7 @@ $(function() {
|
|||
var $favorited = $favorite
|
||||
.siblings('.favorited');
|
||||
$favorite.fadeOut(1000, function() {
|
||||
$favorited.fadeIn(1000)
|
||||
$favorited.fadeIn(1000);
|
||||
});
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Add table
Reference in a new issue