Removing unused code

Because this method is called by OpenLayers.Function.bindAsEventListener,
which conditionally assigns window.event already, e cannot be null or
undefined here.
This commit is contained in:
ahocevar
2012-12-07 21:10:20 +01:00
parent 8701a54603
commit c36b897878

View File

@@ -163,9 +163,6 @@ OpenLayers.Handler.MouseWheel = OpenLayers.Class(OpenLayers.Handler, {
if (!overScrollableDiv && overMapDiv) {
if (allowScroll) {
var delta = 0;
if (!e) {
e = window.event;
}
if (e.wheelDelta) {
delta = e.wheelDelta;