]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/commitdiff
Fix reloading new live session in embed
authorChocobozzz <me@florianbigard.com>
Mon, 24 Oct 2022 08:08:17 +0000 (10:08 +0200)
committerChocobozzz <me@florianbigard.com>
Mon, 24 Oct 2022 08:08:17 +0000 (10:08 +0200)
client/src/standalone/videos/shared/player-html.ts

index 61231d2cbc544deddccd3564cf564ab12a6871df..d93678c105a538d3ff72fc3cfb33cb7b802d33b3 100644 (file)
@@ -79,7 +79,10 @@ export class PlayerHTML {
   }
 
   removeInformation () {
+    if (!this.informationElement) return
+
     this.removeElement(this.informationElement)
+    this.informationElement = undefined
   }
 
   private getPlaceholderElement () {