Merge pull request #3555 from dpalou/MOBILE-4166

MOBILE-4166 ogvjs: Fix app not starting with old WebViews
main
Noel De Martin 2023-02-21 12:40:32 +01:00 committed by GitHub
commit f56fbd9028
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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" />
<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>
<body>