From 972306aa3e93656a783483a6ce136ccba9295640 Mon Sep 17 00:00:00 2001 From: John Livingston Date: Wed, 3 Apr 2024 17:36:01 +0200 Subject: [PATCH] Fix visual glitch. --- client/videowatch-client-plugin.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/client/videowatch-client-plugin.ts b/client/videowatch-client-plugin.ts index a16e0e3c..b9769938 100644 --- a/client/videowatch-client-plugin.ts +++ b/client/videowatch-client-plugin.ts @@ -203,9 +203,6 @@ function register (registerOptions: RegisterClientOptions): void { return false } - // Loading converseJS... - await displayConverseJS(registerOptions, container, roomkey, 'peertube-video', false) - if (additionalStyles) { container.setAttribute('style', additionalStyles) } @@ -213,6 +210,9 @@ function register (registerOptions: RegisterClientOptions): void { // Hacking styles... hackStyles(true) + + // Loading converseJS... + await displayConverseJS(registerOptions, container, roomkey, 'peertube-video', false) } catch (err) { }