diff options
author | Sam Potts <sam@potts.es> | 2019-06-03 00:28:09 +1000 |
---|---|---|
committer | Sam Potts <sam@potts.es> | 2019-06-03 00:28:09 +1000 |
commit | ac6e3dba5a7ed25a01097a9bd165160652febba9 (patch) | |
tree | f666ac64858911ab30bd72a1ecde3174d2cae5ae /src | |
parent | d9d2c4a219529df75557b2e105158d8a17d1c56f (diff) | |
download | plyr-ac6e3dba5a7ed25a01097a9bd165160652febba9.tar.lz plyr-ac6e3dba5a7ed25a01097a9bd165160652febba9.tar.xz plyr-ac6e3dba5a7ed25a01097a9bd165160652febba9.zip |
Fix for thumbnails in demo for audio
Diffstat (limited to 'src')
-rw-r--r-- | src/js/plugins/previewThumbnails.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/js/plugins/previewThumbnails.js b/src/js/plugins/previewThumbnails.js index b4714117..67367b95 100644 --- a/src/js/plugins/previewThumbnails.js +++ b/src/js/plugins/previewThumbnails.js @@ -101,6 +101,10 @@ class PreviewThumbnails { } this.getThumbnails().then(() => { + if (!this.enabled) { + return; + } + // Render DOM elements this.render(); |