two-finger tap zoomout should work on iPhone, non-functional change (closes #3087)

git-svn-id: http://svn.openlayers.org/trunk/openlayers@11241 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
bartvde
2011-02-22 14:39:39 +00:00
parent f299a41340
commit 418dd126fa
2 changed files with 23 additions and 1 deletions

View File

@@ -128,7 +128,7 @@ OpenLayers.Control.TouchNavigation = OpenLayers.Class(OpenLayers.Control, {
* evt - {Event}
*/
defaultClick: function (evt) {
if(evt.lasttouches && evt.lasttouches.length == 2) {
if(evt.lastTouches && evt.lastTouches.length == 2) {
this.map.zoomOut();
}
},