fix(FilmStrip): Add check for thumbnails

This commit is contained in:
hristoterezov 2016-09-23 16:44:32 -05:00
parent d319e837f5
commit 42d9d0393d
1 changed files with 19 additions and 19 deletions

View File

@ -216,7 +216,7 @@ const FilmStrip = {
return new Promise(resolve => {
let thumbs = this.getThumbs(!forceUpdate);
if(thumbs.localThumb)
thumbs.localThumb.animate({
height: local.thumbHeight,
width: local.thumbWidth
@ -225,7 +225,7 @@ const FilmStrip = {
duration: animate ? 500 : 0,
complete: resolve
});
if(thumbs.remoteThumbs)
thumbs.remoteThumbs.animate({
height: remote.thumbHeight,
width: remote.thumbWidth