diff options
Diffstat (limited to 'client')
-rw-r--r-- | client/src/standalone/videos/shared/player-html.ts | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/client/src/standalone/videos/shared/player-html.ts b/client/src/standalone/videos/shared/player-html.ts index 61231d2cb..d93678c10 100644 --- a/client/src/standalone/videos/shared/player-html.ts +++ b/client/src/standalone/videos/shared/player-html.ts | |||
@@ -79,7 +79,10 @@ export class PlayerHTML { | |||
79 | } | 79 | } |
80 | 80 | ||
81 | removeInformation () { | 81 | removeInformation () { |
82 | if (!this.informationElement) return | ||
83 | |||
82 | this.removeElement(this.informationElement) | 84 | this.removeElement(this.informationElement) |
85 | this.informationElement = undefined | ||
83 | } | 86 | } |
84 | 87 | ||
85 | private getPlaceholderElement () { | 88 | private getPlaceholderElement () { |