Fixed #940 don't show any shows without a tvdb id

Added a link to the netflix movie when you click the label
This commit is contained in:
tidusjar 2017-01-17 21:28:11 +00:00
commit e5d7c4c3ec
3 changed files with 7 additions and 2 deletions

View file

@ -355,7 +355,7 @@ $(function () {
if (results.result) {
// It's on Netflix
$('#' + id + 'netflixTab')
.html("<span class='label label-success'>Avaialble on Netflix</span>");
.html("<a href='https://www.netflix.com/watch/"+results.netflixId+"' target='_blank'><span class='label label-success'>Avaialble on Netflix</span></a>");
}
});