Merge pull request #811 from ahocevar/conditional-click

Click handler called with empty event object on Android. r=@fredj
This commit is contained in:
ahocevar
2013-06-24 03:09:48 -07:00
+2
View File
@@ -373,8 +373,10 @@ ol.MapBrowserEventHandler.prototype.handleTouchEnd_ = function(browserEvent) {
} else { } else {
this.timestamp_ = 0; this.timestamp_ = 0;
} }
if (!goog.isNull(this.down_)) {
this.click_(this.down_); this.click_(this.down_);
} }
}
this.down_ = null; this.down_ = null;
}; };