]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/app/app.component.ts
Try to detect incompatible web browsers
[github/Chocobozzz/PeerTube.git] / client / src / app / app.component.ts
index f95103365e73822af9a3903e18ed1b9a82caea48..5d8e8badf757bf6692384301d994d838a5c2fab7 100644 (file)
@@ -44,6 +44,8 @@ export class AppComponent implements OnInit {
   }
 
   ngOnInit () {
+    document.getElementById('incompatible-browser').className += 'browser-ok'
+
     const pathname = window.location.pathname
     if (!pathname || pathname === '/') {
       this.redirectService.redirectToHomepage()