Fixed open editors on sailfish devices
This commit is contained in:
parent
ed5c599768
commit
40869ada36
|
@ -246,17 +246,17 @@
|
|||
|
||||
<script type="text/javascript" src="../sdk_dev_scripts.js"></script>
|
||||
<script>
|
||||
function isSailfish() {
|
||||
var ua = navigator.userAgent;
|
||||
return /Sailfish/.test(ua) || /Jolla/.test(ua);
|
||||
}
|
||||
var ua = navigator.userAgent;
|
||||
|
||||
if (isSailfish()) {
|
||||
var ua = navigator.userAgent + ';Android 5.0;';
|
||||
Object.defineProperty(navigator, 'userAgent', {
|
||||
get: function () { return ua; }
|
||||
});
|
||||
if (/Sailfish/.test(ua) || /Jolla/.test(ua)) {
|
||||
document.write('<script type="text/javascript" src="../../../vendor/iscroll/iscroll.js"><\/script>');
|
||||
|
||||
if (!/R7OfficeApp/.test(ua)) {
|
||||
var ua = navigator.userAgent + ';Android 5.0;';
|
||||
Object.defineProperty(navigator, 'userAgent', {
|
||||
get: function () { return ua; }
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
window.sdk_dev_scrpipts.forEach(function(item){
|
||||
|
|
|
@ -182,17 +182,17 @@
|
|||
</head>
|
||||
<body>
|
||||
<script type="text/javascript">
|
||||
function isSailfish() {
|
||||
var ua = navigator.userAgent;
|
||||
return /Sailfish/.test(ua) || /Jolla/.test(ua);
|
||||
}
|
||||
var ua = navigator.userAgent;
|
||||
|
||||
if (isSailfish()) {
|
||||
var ua = navigator.userAgent + ';Android 5.0;';
|
||||
Object.defineProperty(navigator, 'userAgent', {
|
||||
get: function () { return ua; }
|
||||
});
|
||||
if (/Sailfish/.test(ua) || /Jolla/.test(ua)) {
|
||||
document.write('<script type="text/javascript" src="../../../vendor/iscroll/iscroll.js"><\/script>');
|
||||
|
||||
if (!/R7OfficeApp/.test(ua)) {
|
||||
var ua = navigator.userAgent + ';Android 5.0;';
|
||||
Object.defineProperty(navigator, 'userAgent', {
|
||||
get: function () { return ua; }
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
function getUrlParams() {
|
||||
|
|
|
@ -246,17 +246,17 @@
|
|||
|
||||
<script type="text/javascript" src="../sdk_dev_scripts.js"></script>
|
||||
<script>
|
||||
function isSailfish() {
|
||||
var ua = navigator.userAgent;
|
||||
return /Sailfish/.test(ua) || /Jolla/.test(ua);
|
||||
}
|
||||
var ua = navigator.userAgent;
|
||||
|
||||
if (isSailfish()) {
|
||||
var ua = navigator.userAgent + ';Android 5.0;';
|
||||
Object.defineProperty(navigator, 'userAgent', {
|
||||
get: function () { return ua; }
|
||||
});
|
||||
if (/Sailfish/.test(ua) || /Jolla/.test(ua)) {
|
||||
document.write('<script type="text/javascript" src="../../../vendor/iscroll/iscroll.js"><\/script>');
|
||||
|
||||
if (!/R7OfficeApp/.test(ua)) {
|
||||
var ua = navigator.userAgent + ';Android 5.0;';
|
||||
Object.defineProperty(navigator, 'userAgent', {
|
||||
get: function () { return ua; }
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
window.sdk_dev_scrpipts.forEach(function(item){
|
||||
|
|
|
@ -182,17 +182,17 @@
|
|||
</head>
|
||||
<body>
|
||||
<script type="text/javascript">
|
||||
function isSailfish() {
|
||||
var ua = navigator.userAgent;
|
||||
return /Sailfish/.test(ua) || /Jolla/.test(ua);
|
||||
}
|
||||
var ua = navigator.userAgent;
|
||||
|
||||
if (isSailfish()) {
|
||||
var ua = navigator.userAgent + ';Android 5.0;';
|
||||
Object.defineProperty(navigator, 'userAgent', {
|
||||
get: function () { return ua; }
|
||||
});
|
||||
if (/Sailfish/.test(ua) || /Jolla/.test(ua)) {
|
||||
document.write('<script type="text/javascript" src="../../../vendor/iscroll/iscroll.js"><\/script>');
|
||||
|
||||
if (!/R7OfficeApp/.test(ua)) {
|
||||
var ua = navigator.userAgent + ';Android 5.0;';
|
||||
Object.defineProperty(navigator, 'userAgent', {
|
||||
get: function () { return ua; }
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
function getUrlParams() {
|
||||
|
|
|
@ -247,17 +247,17 @@
|
|||
|
||||
<script type="text/javascript" src="../sdk_dev_scripts.js"></script>
|
||||
<script>
|
||||
function isSailfish() {
|
||||
var ua = navigator.userAgent;
|
||||
return /Sailfish/.test(ua) || /Jolla/.test(ua);
|
||||
}
|
||||
var ua = navigator.userAgent;
|
||||
|
||||
if (isSailfish()) {
|
||||
var ua = navigator.userAgent + ';Android 5.0;';
|
||||
Object.defineProperty(navigator, 'userAgent', {
|
||||
get: function () { return ua; }
|
||||
});
|
||||
if (/Sailfish/.test(ua) || /Jolla/.test(ua)) {
|
||||
document.write('<script type="text/javascript" src="../../../vendor/iscroll/iscroll.js"><\/script>');
|
||||
|
||||
if (!/R7OfficeApp/.test(ua)) {
|
||||
var ua = navigator.userAgent + ';Android 5.0;';
|
||||
Object.defineProperty(navigator, 'userAgent', {
|
||||
get: function () { return ua; }
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
window.sdk_dev_scrpipts.forEach(function(item){
|
||||
|
|
|
@ -181,17 +181,17 @@
|
|||
</head>
|
||||
<body>
|
||||
<script type="text/javascript">
|
||||
function isSailfish() {
|
||||
var ua = navigator.userAgent;
|
||||
return /Sailfish/.test(ua) || /Jolla/.test(ua);
|
||||
}
|
||||
var ua = navigator.userAgent;
|
||||
|
||||
if (isSailfish()) {
|
||||
var ua = navigator.userAgent + ';Android 5.0;';
|
||||
Object.defineProperty(navigator, 'userAgent', {
|
||||
get: function () { return ua; }
|
||||
});
|
||||
if (/Sailfish/.test(ua) || /Jolla/.test(ua)) {
|
||||
document.write('<script type="text/javascript" src="../../../vendor/iscroll/iscroll.js"><\/script>');
|
||||
|
||||
if (!/R7OfficeApp/.test(ua)) {
|
||||
var ua = navigator.userAgent + ';Android 5.0;';
|
||||
Object.defineProperty(navigator, 'userAgent', {
|
||||
get: function () { return ua; }
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
function getUrlParams() {
|
||||
|
|
Loading…
Reference in a new issue