This commit is contained in:
j 2021-10-11 19:54:13 +01:00
parent 9d3fbb4a2e
commit 17c2ac8f5a

View file

@ -124,6 +124,8 @@ function formatInfo(config, ascroll) {
} }
function showOverlay(event) { function showOverlay(event) {
event.stopPropagation()
event.preventDefault()
document.querySelectorAll('#video-overlay').forEach(element => element.remove()) document.querySelectorAll('#video-overlay').forEach(element => element.remove())
var video = event.target var video = event.target
var rect = video.getBoundingClientRect(); var rect = video.getBoundingClientRect();