Use global addEventListener in PluggableMap
This commit is contained in:
1 parent
96331c5d95
commit
119c24faa2
1 file changed
+1
-1
@@ -1057,7 +1057,7 @@ class PluggableMap extends BaseObject {
|
||||
|
||||
if (!this.handleResize_) {
|
||||
this.handleResize_ = this.updateSize.bind(this);
|
||||
addEventListener(EventType.RESIZE, this.handleResize_, false);
|
||||
global.addEventListener(EventType.RESIZE, this.handleResize_, false);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user