Commit 957d5b9630665bcb82dabeb83f7be2c9a10d7fd5
1 parent
4c0349c5
Exists in
master
and in
7 other branches
--no commit message
Showing
1 changed file
with
4 additions
and
2 deletions
Show diff stats
classesjs/classe_eventos.js
| @@ -577,12 +577,14 @@ i3GEO.eventos = | @@ -577,12 +577,14 @@ i3GEO.eventos = | ||
| 577 | }; | 577 | }; |
| 578 | docMapa.ontouchmove = function(exy) { | 578 | docMapa.ontouchmove = function(exy) { |
| 579 | i3GEO.eventos.CONTATOUCH++; | 579 | i3GEO.eventos.CONTATOUCH++; |
| 580 | - console.info(i3GEO.eventos.CONTATOUCH) | ||
| 581 | i3GEO.eventos.cliquePerm.status = false; | 580 | i3GEO.eventos.cliquePerm.status = false; |
| 582 | }; | 581 | }; |
| 583 | docMapa.ontouchend = function(exy) { | 582 | docMapa.ontouchend = function(exy) { |
| 584 | - i3GEO.eventos.CONTATOUCH = 0; | ||
| 585 | i3GEO.eventos.cliquePerm.status = true; | 583 | i3GEO.eventos.cliquePerm.status = true; |
| 584 | + if(i3GEO.eventos.CONTATOUCH < 10){ | ||
| 585 | + i3GEO.eventos.mouseupMapa(exy); | ||
| 586 | + } | ||
| 587 | + i3GEO.eventos.CONTATOUCH = 0; | ||
| 586 | }; | 588 | }; |
| 587 | docMapa.ontouchcancel = function(exy) { | 589 | docMapa.ontouchcancel = function(exy) { |
| 588 | i3GEO.eventos.CONTATOUCH = 0; | 590 | i3GEO.eventos.CONTATOUCH = 0; |