Skip to content

Commit

Permalink
bug fix for missing thumbnails
Browse files Browse the repository at this point in the history
  • Loading branch information
octatone committed Nov 4, 2011
1 parent 679896d commit 68de437
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/tv.js
Original file line number Diff line number Diff line change
Expand Up @@ -628,7 +628,7 @@ function getThumbnailUrl(chan, video_id) {
if (sfwCheck(video_id, chan)) {
return 'img/nsfw.png';
}
else if (globals.videos[chan].video[video_id].media) {
else if (globals.videos[chan].video[video_id].media.oembed) {
return globals.videos[chan].video[video_id].media.oembed.thumbnail_url !== undefined ?
globals.videos[chan].video[video_id].media.oembed.thumbnail_url :
'img/noimage.png';
Expand Down

0 comments on commit 68de437

Please sign in to comment.