From 0c08f96755c6275e984a07ba021493e259cb3950 Mon Sep 17 00:00:00 2001 From: yanas Date: Mon, 18 Sep 2017 17:26:24 -0500 Subject: [PATCH] fix(Filmstrip.js):Make sure the local thumbnail is there before getting the height --- modules/UI/videolayout/Filmstrip.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/UI/videolayout/Filmstrip.js b/modules/UI/videolayout/Filmstrip.js index 05754cf2a..d16576118 100644 --- a/modules/UI/videolayout/Filmstrip.js +++ b/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