mirror of
https://github.com/placeAtlas/atlas.git
synced 2024-06-02 11:29:45 +02:00
Merge pull request #482 from n9iels/fix/mobile-touch-link
Fix: Touch/click propagnation causes links to open
This commit is contained in:
commit
8fb27a0568
|
@ -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){
|
||||
|
|
Loading…
Reference in a new issue