Merge pull request #1995 from jitsi/fix-local-thumbnail
fix(Filmstrip.js): Make sure the local thumbnail is there
This commit is contained in:
commit
04a1da2cea
|
@ -444,7 +444,7 @@ const Filmstrip = {
|
||||||
|
|
||||||
promises.push(new Promise(() => {
|
promises.push(new Promise(() => {
|
||||||
let { localThumb } = this.getThumbs();
|
let { localThumb } = this.getThumbs();
|
||||||
let height = localThumb.height();
|
let height = localThumb ? localThumb.height() : 0;
|
||||||
let fontSize = UIUtil.getIndicatorFontSize(height);
|
let fontSize = UIUtil.getIndicatorFontSize(height);
|
||||||
this.filmstrip.find('.indicator').animate({
|
this.filmstrip.find('.indicator').animate({
|
||||||
fontSize
|
fontSize
|
||||||
|
|
Loading…
Reference in New Issue