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

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

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

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

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

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