fix(MediaModal): reset touch Action

This commit is contained in:
Matthieu Bessat 2020-08-12 14:37:48 +02:00
parent ba981e2fbf
commit 5ef9e9ab10

View file

@ -117,6 +117,7 @@ let closeModal = () => {
mediaModal.style.opacity = 0
document.body.style.overflow = 'initial'
document.body.style.height = 'initial'
document.body.style.touchAction = 'initial'
let video = document.querySelector('#media-modal video')
if (video !== null) {
video.pause()