Merge pull request #3555 from dpalou/MOBILE-4166
MOBILE-4166 ogvjs: Fix app not starting with old WebViews
This commit is contained in:
		
						commit
						f56fbd9028
					
				| @ -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> | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user