mirror of
https://github.com/vector-im/element-web.git
synced 2026-05-04 19:56:45 +02:00
Fix resizer crashing jitsi
This commit is contained in:
parent
a93d5cde09
commit
7645e0413c
@ -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…
x
Reference in New Issue
Block a user