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

pull/1995/head
yanas 8 years ago
parent 984085ac54
commit 0c08f96755
  1. 2
      modules/UI/videolayout/Filmstrip.js

@ -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

Loading…
Cancel
Save