This commit is contained in:
j 2022-09-07 11:36:56 +02:00
parent 2b7975ab89
commit 5414d4bca1

View file

@ -39,7 +39,7 @@ function scrollTo(element) {
} }
function showOverlay(event) { function showOverlay(event) {
console.log('show overlay', event.target, event) //console.log('show overlay', event.target, event)
event.stopPropagation() event.stopPropagation()
event.preventDefault() event.preventDefault()
document.querySelectorAll('#video-overlay').forEach(element => element.remove()) document.querySelectorAll('#video-overlay').forEach(element => element.remove())