Fix visual glitch.

This commit is contained in:
John Livingston 2024-04-03 17:36:01 +02:00
parent 1ceb37da2c
commit 972306aa3e
No known key found for this signature in database
GPG Key ID: B17B5640CE66CDBC

View File

@ -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) {
}