diff options
author | Chocobozzz <me@florianbigard.com> | 2018-10-19 14:56:02 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-10-19 14:56:26 +0200 |
commit | e280dd0681440d05269d9aa54904d62064f2fa39 (patch) | |
tree | 53bdfa106be5e241e0eee403f7adbfea5d5ec31b /client/src/assets | |
parent | 3aa5001eaaff2a9b0cd8d0dbfa050fdfe3c1c2e2 (diff) | |
download | PeerTube-e280dd0681440d05269d9aa54904d62064f2fa39.tar.gz PeerTube-e280dd0681440d05269d9aa54904d62064f2fa39.tar.zst PeerTube-e280dd0681440d05269d9aa54904d62064f2fa39.zip |
Fix webtorrent disabled by default
Diffstat (limited to 'client/src/assets')
-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 () { |