loleaflet: renamed handler so we can later have a 'scroll' method

This commit is contained in:
Mihai Varga 2015-07-24 15:10:08 +03:00
parent e7fc840c9e
commit bfa5eda503

View file

@ -57,4 +57,4 @@ L.Map.Scroll = L.Handler.extend({
}
});
L.Map.addInitHook('addHandler', 'scroll', L.Map.Scroll);
L.Map.addInitHook('addHandler', 'scrollHandler', L.Map.Scroll);