]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/index.html
Translated using Weblate (Central Atlas Tamazight)
[github/Chocobozzz/PeerTube.git] / client / src / index.html
index e5d1569aae00bb160108db20fd353cdb607734f1..95e7e384b432c8685d04aecff0b722c9903a74b7 100644 (file)
@@ -10,6 +10,8 @@
     <link rel="manifest" href="/manifest.webmanifest?[manifestContentHash]">
 
     <link rel="icon" type="image/png" href="/client/assets/images/favicon.png?[faviconContentHash]" />
+    <link rel="apple-touch-icon" href="/client/assets/images/icons/icon-144x144.png" sizes="144x144" />
+    <link rel="apple-touch-icon" href="/client/assets/images/icons/icon-192x192.png" sizes="192x192" />
 
     <!-- logo background-image -->
     <style type="text/css">
     </div>
 
     <script type="text/javascript">
-      window.onerror = function () {
+      function displayIncompatibleBrowser () {
         var elem = document.getElementById('incompatible-browser')
         if (elem.className.indexOf('browser-ok') === -1) {
           elem.style.display = 'block'
         }
       }
+
+      window.onerror = function () {
+        displayIncompatibleBrowser()
+      }
+
+      if (/MSIE|Trident/.test(window.navigator.userAgent) ) {
+        displayIncompatibleBrowser()
+      }
     </script>
 
-    <my-app>
+    <my-app role="main">
     </my-app>
 
   </body>