changeset 533:1c5104a6f7e4 dev

fix warning for preventDefault
author Alain Mazy <alain@mazy.be>
date Mon, 18 Mar 2019 16:01:07 +0100
parents 548eed46f535
children f65748b33bd1 d785ee57bd95
files Platforms/Wasm/wasm-application-runner.ts
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/Platforms/Wasm/wasm-application-runner.ts	Thu Mar 14 19:04:35 2019 +0100
+++ b/Platforms/Wasm/wasm-application-runner.ts	Mon Mar 18 16:01:07 2019 +0100
@@ -109,7 +109,7 @@
     // Prevent scrolling
     document.body.addEventListener('touchmove', function (event) {
       event.preventDefault();
-    }, false);
+    }, { passive: false});
 
     _InitializeWasmApplication(orthancBaseUrl);
   });