Revert "Remove mousewheel event name workaround"

This reverts commit 20ce664068.

Reverted upstream: 4ee0daca0e
This commit is contained in:
Frederic Junod
2014-11-17 10:10:04 +01:00
parent a77b7aa817
commit 552f9483cb

View File

@@ -265,7 +265,7 @@ ol.Map = function(options) {
goog.events.EventType.TOUCHSTART, goog.events.EventType.TOUCHSTART,
goog.events.EventType.MSPOINTERDOWN, goog.events.EventType.MSPOINTERDOWN,
ol.MapBrowserEvent.EventType.POINTERDOWN, ol.MapBrowserEvent.EventType.POINTERDOWN,
goog.events.EventType.MOUSEWHEEL goog.userAgent.GECKO ? 'DOMMouseScroll' : 'mousewheel'
], goog.events.Event.stopPropagation); ], goog.events.Event.stopPropagation);
goog.dom.appendChild(this.viewport_, this.overlayContainerStopEvent_); goog.dom.appendChild(this.viewport_, this.overlayContainerStopEvent_);