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