diff options
-rw-r--r-- | client/src/assets/player/peertube-player-local-storage.ts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/client/src/assets/player/peertube-player-local-storage.ts b/client/src/assets/player/peertube-player-local-storage.ts index 3ac5fe58a..7e3813570 100644 --- a/client/src/assets/player/peertube-player-local-storage.ts +++ b/client/src/assets/player/peertube-player-local-storage.ts | |||
@@ -14,7 +14,8 @@ function getStoredWebTorrentEnabled (): boolean { | |||
14 | const value = getLocalStorage('webtorrent_enabled') | 14 | const value = getLocalStorage('webtorrent_enabled') |
15 | if (value !== null && value !== undefined) return value === 'true' | 15 | if (value !== null && value !== undefined) return value === 'true' |
16 | 16 | ||
17 | return false | 17 | // By default webtorrent is enabled |
18 | return true | ||
18 | } | 19 | } |
19 | 20 | ||
20 | function getStoredMute () { | 21 | function getStoredMute () { |