Mercurial > hg > orthanc-stone
comparison Platforms/Wasm/wasm-application-runner.ts @ 536:f65748b33bd1 bgo-commands-codegen
Merged dev branch
author | Benjamin Golinvaux <bgo@osimis.io> |
---|---|
date | Tue, 19 Mar 2019 09:21:48 +0100 |
parents | 79bb0a02d1cc 1c5104a6f7e4 |
children | e1ba16436d59 |
comparison
equal
deleted
inserted
replaced
535:79bb0a02d1cc | 536:f65748b33bd1 |
---|---|
105 Logger.defaultLogger.debug("Connecting C++ methods to JS methods - done"); | 105 Logger.defaultLogger.debug("Connecting C++ methods to JS methods - done"); |
106 | 106 |
107 // Prevent scrolling | 107 // Prevent scrolling |
108 document.body.addEventListener('touchmove', function (event) { | 108 document.body.addEventListener('touchmove', function (event) { |
109 event.preventDefault(); | 109 event.preventDefault(); |
110 }, false); | 110 }, { passive: false}); |
111 | 111 |
112 _InitializeWasmApplication(orthancBaseUrl); | 112 _InitializeWasmApplication(orthancBaseUrl); |
113 }); | 113 }); |
114 } | 114 } |
115 | 115 |