fix(Filmstrip.js):Make sure the local thumbnail is there before getting the height

This commit is contained in:
yanas 2017-09-18 17:26:24 -05:00
parent 984085ac54
commit 0c08f96755
1 changed files with 1 additions and 1 deletions

View File

@ -444,7 +444,7 @@ const Filmstrip = {
promises.push(new Promise(() => {
let { localThumb } = this.getThumbs();
let height = localThumb.height();
let height = localThumb ? localThumb.height() : 0;
let fontSize = UIUtil.getIndicatorFontSize(height);
this.filmstrip.find('.indicator').animate({
fontSize