Call resetClickCountHandler_ with proper this argument

This commit is contained in:
Tim Schaub
2014-05-13 17:41:58 -06:00
parent 86013c3a78
commit 57a6fbf416

View File

@@ -149,7 +149,8 @@ ol.pointer.TouchSource.prototype.removePrimaryPointer_ = function(inPointer) {
* @private * @private
*/ */
ol.pointer.TouchSource.prototype.resetClickCount_ = function() { ol.pointer.TouchSource.prototype.resetClickCount_ = function() {
this.resetId_ = goog.global.setTimeout(this.resetClickCountHandler_, this.resetId_ = goog.global.setTimeout(
goog.bind(this.resetClickCountHandler_, this),
ol.pointer.TouchSource.CLICK_COUNT_TIMEOUT); ol.pointer.TouchSource.CLICK_COUNT_TIMEOUT);
}; };