From 7645e0413c549c5e412a8a0f5c28d637768fe285 Mon Sep 17 00:00:00 2001 From: Dariusz Niemczyk Date: Tue, 24 Aug 2021 16:06:10 +0200 Subject: [PATCH] Fix resizer crashing jitsi --- src/resizer/resizer.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/resizer/resizer.ts b/src/resizer/resizer.ts index 92f458e7c7..19af425b8b 100644 --- a/src/resizer/resizer.ts +++ b/src/resizer/resizer.ts @@ -78,7 +78,7 @@ export default class Resizer { } 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); }