Check for type === video in clearPreview()
This commit is contained in:
parent
c4b318bd5f
commit
d3bfccaa6b
1 changed files with 1 additions and 0 deletions
|
|
@ -735,6 +735,7 @@ function renderPlayerControls (state) {
|
|||
}
|
||||
|
||||
function clearPreview (e) {
|
||||
if (state.playing.type !== 'video') return
|
||||
dispatch('clearPreview')
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue