aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/assets
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/assets')
-rw-r--r--client/src/assets/player/peertube-player-manager.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/src/assets/player/peertube-player-manager.ts b/client/src/assets/player/peertube-player-manager.ts
index 4681c130c..d10fb7a4a 100644
--- a/client/src/assets/player/peertube-player-manager.ts
+++ b/client/src/assets/player/peertube-player-manager.ts
@@ -302,7 +302,7 @@ export class PeertubePlayerManager {
302 302
303 let consumeOnly = false 303 let consumeOnly = false
304 // FIXME: typings 304 // FIXME: typings
305 if (navigator && (navigator as any).connection && (navigator as any).connection.effectiveType === 'cellular') { 305 if (navigator && (navigator as any).connection && (navigator as any).connection.type === 'cellular') {
306 console.log('We are on a cellular connection: disabling seeding.') 306 console.log('We are on a cellular connection: disabling seeding.')
307 consumeOnly = true 307 consumeOnly = true
308 } 308 }