aboutsummaryrefslogtreecommitdiff
path: root/web/load.js
diff options
context:
space:
mode:
Diffstat (limited to 'web/load.js')
-rw-r--r--web/load.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/web/load.js b/web/load.js
index 730136f1..cb5defd8 100644
--- a/web/load.js
+++ b/web/load.js
@@ -137,6 +137,12 @@
});
+ // Hack for new versions of Android
+ if (navigator.userAgent.indexOf('Android') !== -1 && navigator.userAgent.indexOf('OPR') !== -1) {
+ var __originalUserAgent = navigator.userAgent;
+ navigator.__defineGetter__('userAgent', function () { return __originalUserAgent.replace(/\/OPR[^)]*/g, ''); });
+ }
+
extjsVersion = '6.2.0';
fontAwesomeVersion = '4.7.0';
olVersion = '4.3.2';