MOBILE-4166 ogvjs: Fix app not starting with old WebViews

main
Dani Palou 2023-02-21 12:27:12 +01:00
parent 4a7fec5e18
commit bf7e66cbe2
1 changed files with 6 additions and 0 deletions

View File

@ -23,6 +23,12 @@
<meta name="apple-mobile-web-app-status-bar-style" content="black" /> <meta name="apple-mobile-web-app-status-bar-style" content="black" />
<script src="assets/lib/mathjax/MathJax.js?delayStartupUntil=configured"></script> <script src="assets/lib/mathjax/MathJax.js?delayStartupUntil=configured"></script>
<script type="text/javascript">
if (globalThis === undefined) {
// Define globalThis in environments where it's not supported to avoid errors with ogv.js.
var globalThis = window;
}
</script>
</head> </head>
<body> <body>