diff options
Diffstat (limited to 'client/src/assets/player')
-rw-r--r-- | client/src/assets/player/webtorrent/webtorrent-plugin.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/src/assets/player/webtorrent/webtorrent-plugin.ts b/client/src/assets/player/webtorrent/webtorrent-plugin.ts index 287358ada..9beb04d10 100644 --- a/client/src/assets/player/webtorrent/webtorrent-plugin.ts +++ b/client/src/assets/player/webtorrent/webtorrent-plugin.ts | |||
@@ -139,7 +139,7 @@ class WebTorrentPlugin extends Plugin { | |||
139 | : this.pickAverageVideoFile() | 139 | : this.pickAverageVideoFile() |
140 | } | 140 | } |
141 | 141 | ||
142 | if (videoFile === undefined) { | 142 | if (!!videoFile) { |
143 | throw Error(`Can't update video file since videoFile is undefined.`) | 143 | throw Error(`Can't update video file since videoFile is undefined.`) |
144 | } | 144 | } |
145 | 145 | ||