diff --git a/android/KMEA/app/src/main/assets/other-polyfills.js b/android/KMEA/app/src/main/assets/other-polyfills.js index d91943eda0..f86e51f8f4 100644 --- a/android/KMEA/app/src/main/assets/other-polyfills.js +++ b/android/KMEA/app/src/main/assets/other-polyfills.js @@ -18,4 +18,6 @@ if(!Array.prototype.includes){ // This file is only referenced by the main Web engine; its "global" object is `window`. // `globalThis` is defined in Chrome 71+. -var globalThis = window; \ No newline at end of file +if(typeof globalThis == 'undefined') { + var globalThis = window; +} \ No newline at end of file