From cff2ac659420d5a6bfc3a253b011dff416a0e53e Mon Sep 17 00:00:00 2001 From: Edmar Moretti Date: Sat, 31 Jan 2015 22:16:11 +0000 Subject: [PATCH] - --- classesjs/classe_eventos.js | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/classesjs/classe_eventos.js b/classesjs/classe_eventos.js index ff19985..ce8cf2b 100644 --- a/classesjs/classe_eventos.js +++ b/classesjs/classe_eventos.js @@ -529,18 +529,16 @@ i3GEO.eventos = docMapa.onmouseup = function(exy) { i3GEO.eventos.mouseupMapa(exy); }; - /* docMapa.ontouchend = function(exy) { - if (i3GEO.eventos.cliquePerm.status === true) { - i3GEO.eventos.mouseupMapa(exy); + if(i3GEO.Interface.ATUAL === "googlemaps"){ + if (i3GEO.eventos.cliquePerm.status === true) { + i3GEO.eventos.mouseupMapa(exy); + } + i3GEO.eventos.cliquePerm.status = true; } - i3GEO.eventos.cliquePerm.status = true; }; - */ docMapa.ontouchmove = function(exy) { - if(i3GEO.Interface.ATUAL === "openlayers"){ - i3GEO.eventos.cliquePerm.status = false; - } + i3GEO.eventos.cliquePerm.status = false; }; }, /** -- libgit2 0.21.2