Check for type === video in clearPreview()
This commit is contained in:
@@ -735,6 +735,7 @@ function renderPlayerControls (state) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function clearPreview (e) {
|
function clearPreview (e) {
|
||||||
|
if (state.playing.type !== 'video') return
|
||||||
dispatch('clearPreview')
|
dispatch('clearPreview')
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user