From 5ef9e9ab10b7ae86a076ba00c3e15baa0ac120b9 Mon Sep 17 00:00:00 2001 From: Matthieu Bessat Date: Wed, 12 Aug 2020 14:37:48 +0200 Subject: [PATCH] fix(MediaModal): reset touch Action --- assets/development/scripts/organization.js | 1 + 1 file changed, 1 insertion(+) diff --git a/assets/development/scripts/organization.js b/assets/development/scripts/organization.js index 4ce721d..14314bd 100644 --- a/assets/development/scripts/organization.js +++ b/assets/development/scripts/organization.js @@ -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()