Do not pretend the zoom slider supports touch
This commit is contained in:
@@ -88,10 +88,8 @@ ol.control.ZoomSlider = function(opt_options) {
|
|||||||
], this.handleSliderChange_, undefined, this);
|
], this.handleSliderChange_, undefined, this);
|
||||||
|
|
||||||
// FIXME currently only a do nothing function is bound.
|
// FIXME currently only a do nothing function is bound.
|
||||||
goog.events.listen(sliderElement, [
|
goog.events.listen(sliderElement, goog.events.EventType.CLICK,
|
||||||
goog.events.EventType.TOUCHEND,
|
this.handleContainerClick_, false, this);
|
||||||
goog.events.EventType.CLICK
|
|
||||||
], this.handleContainerClick_, false, this);
|
|
||||||
|
|
||||||
goog.base(this, {
|
goog.base(this, {
|
||||||
element: sliderElement
|
element: sliderElement
|
||||||
|
|||||||
Reference in New Issue
Block a user