Просмотр исходного кода

Merge pull request #1995 from jitsi/fix-local-thumbnail

fix(Filmstrip.js): Make sure the local thumbnail is there
j8
virtuacoplenny 7 лет назад
Родитель
Сommit
04a1da2cea
1 измененных файлов: 1 добавлений и 1 удалений
  1. 1
    1
      modules/UI/videolayout/Filmstrip.js

+ 1
- 1
modules/UI/videolayout/Filmstrip.js Просмотреть файл

444
 
444
 
445
             promises.push(new Promise(() => {
445
             promises.push(new Promise(() => {
446
                 let { localThumb } = this.getThumbs();
446
                 let { localThumb } = this.getThumbs();
447
-                let height = localThumb.height();
447
+                let height = localThumb ? localThumb.height() : 0;
448
                 let fontSize = UIUtil.getIndicatorFontSize(height);
448
                 let fontSize = UIUtil.getIndicatorFontSize(height);
449
                 this.filmstrip.find('.indicator').animate({
449
                 this.filmstrip.find('.indicator').animate({
450
                     fontSize
450
                     fontSize

Загрузка…
Отмена
Сохранить