Fix resizer crashing jitsi
This commit is contained in:
parent
a93d5cde09
commit
7645e0413c
1 changed files with 1 additions and 1 deletions
|
@ -78,7 +78,7 @@ export default class Resizer<C extends IConfig = IConfig> {
|
|||
}
|
||||
|
||||
public attach() {
|
||||
const attachment = this?.config?.handler.parentElement ?? this.container;
|
||||
const attachment = this?.config?.handler?.parentElement ?? this.container;
|
||||
attachment.addEventListener("mousedown", this.onMouseDown, false);
|
||||
window.addEventListener("resize", this.onResize);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue