Merge pull request #482 from n9iels/fix/mobile-touch-link

Fix: Touch/click propagnation causes links to open
This commit is contained in:
Stefano 2022-04-05 19:48:23 +02:00 committed by GitHub
commit 8fb27a0568
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -703,6 +703,8 @@ function initView(){
});
container.addEventListener("touchend", function(e){
e.preventDefault()
//console.log(e);
//console.log(e.changedTouches[0].clientX);
if(e.changedTouches.length == 1){