Allow EventTarget to use a different default target
This commit is contained in:
@@ -18,7 +18,7 @@ class MapBrowserEventHandler extends EventTarget {
|
||||
*/
|
||||
constructor(map, moveTolerance) {
|
||||
|
||||
super();
|
||||
super(map);
|
||||
|
||||
/**
|
||||
* This is the element that we will listen to the real events on.
|
||||
|
||||
Reference in New Issue
Block a user