Added tv/movie details in tooltip

This commit is contained in:
2017-05-23 22:27:42 +08:00
parent 2b36f9a659
commit 841f733bd2
2 changed files with 4 additions and 3 deletions
+3 -2
View File
@@ -71,7 +71,7 @@
'title': result.details || ''
});
$list.append('<i class="'+result.type+'-logo-medium">'+result.label+'</i>');
$list.append('<strong>'+result.rating+'/10 ('+result.details+')</strong>');
$list.append('<strong>'+result.rating+'/10 ('+result.count+')</strong>');
$list.appendTo($box);
});
@@ -93,7 +93,8 @@
label: 'The Movie DB',
rating: +data.results[0].vote_average,
//maxRating: 100,
details: data.results[0].vote_count
count: data.results[0].vote_count,
details: (data.results[0].original_name||data.results[0].title)+' ( '+(data.results[0].release_date||data.results[0].first_air_date)+') - '+data.results[0].overview
});
}
addRating(result);
+1 -1
View File
@@ -2,7 +2,7 @@
"author": "Nils Beckmann",
"manifest_version": 2,
"name": "netflix-ratings",
"version": "0.6.7",
"version": "0.7.0",
"description": "This Extension adds themoviedb.org ratings to movies whenever they can be matched.",