From fa4868a26da7f433df98fff97f8d0acb7e33ce4a Mon Sep 17 00:00:00 2001 From: Sam Potts Date: Tue, 29 Jan 2019 21:33:16 +1100 Subject: Fix listeners for preview thumbs when changing source --- src/js/source.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src/js/source.js') diff --git a/src/js/source.js b/src/js/source.js index 337c949c..0173cc9e 100644 --- a/src/js/source.js +++ b/src/js/source.js @@ -125,11 +125,16 @@ const source = { ui.build.call(this); } + // Load HTML5 sources if (this.isHTML5) { - // Load HTML5 sources this.media.load(); } + // Reload thumbnails + if (this.previewThumbnails) { + this.previewThumbnails.load(); + } + // Update the fullscreen support this.fullscreen.update(); }, -- cgit v1.2.3