Check for type === video in clearPreview()

This commit is contained in:
David Ernst
2020-07-30 19:10:14 -07:00
parent c4b318bd5f
commit d3bfccaa6b

View File

@@ -735,6 +735,7 @@ function renderPlayerControls (state) {
}
function clearPreview (e) {
if (state.playing.type !== 'video') return
dispatch('clearPreview')
}