loleaflet: renamed handler so we can later have a 'scroll' method
This commit is contained in:
parent
e7fc840c9e
commit
bfa5eda503
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue