Also listen on touchmove, since apparently evt.touches doesn't get multiple
touches on down? git-svn-id: http://svn.openlayers.org/trunk/openlayers@11611 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -14,6 +14,10 @@
|
||||
box.innerHTML = evt.touches.length;
|
||||
evt.preventDefault();
|
||||
});
|
||||
box.addEventListener("touchmove", function(evt) {
|
||||
box.innerHTML = evt.touches.length;
|
||||
evt.preventDefault();
|
||||
});
|
||||
if (!(typeof box.ontouchstart != 'undefined')) {
|
||||
box.style.backgroundColor = "red";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user