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 type="text/javascript" src="../sdk_dev_scripts.js"></script>
|
||||||
<script>
|
<script>
|
||||||
function isSailfish() {
|
|
||||||
var ua = navigator.userAgent;
|
var ua = navigator.userAgent;
|
||||||
return /Sailfish/.test(ua) || /Jolla/.test(ua);
|
|
||||||
}
|
|
||||||
|
|
||||||
if (isSailfish()) {
|
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;';
|
var ua = navigator.userAgent + ';Android 5.0;';
|
||||||
Object.defineProperty(navigator, 'userAgent', {
|
Object.defineProperty(navigator, 'userAgent', {
|
||||||
get: function () { return ua; }
|
get: function () { return ua; }
|
||||||
});
|
});
|
||||||
document.write('<script type="text/javascript" src="../../../vendor/iscroll/iscroll.js"><\/script>');
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
window.sdk_dev_scrpipts.forEach(function(item){
|
window.sdk_dev_scrpipts.forEach(function(item){
|
||||||
|
|
|
@ -182,17 +182,17 @@
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
function isSailfish() {
|
|
||||||
var ua = navigator.userAgent;
|
var ua = navigator.userAgent;
|
||||||
return /Sailfish/.test(ua) || /Jolla/.test(ua);
|
|
||||||
}
|
|
||||||
|
|
||||||
if (isSailfish()) {
|
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;';
|
var ua = navigator.userAgent + ';Android 5.0;';
|
||||||
Object.defineProperty(navigator, 'userAgent', {
|
Object.defineProperty(navigator, 'userAgent', {
|
||||||
get: function () { return ua; }
|
get: function () { return ua; }
|
||||||
});
|
});
|
||||||
document.write('<script type="text/javascript" src="../../../vendor/iscroll/iscroll.js"><\/script>');
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
function getUrlParams() {
|
function getUrlParams() {
|
||||||
|
|
|
@ -246,17 +246,17 @@
|
||||||
|
|
||||||
<script type="text/javascript" src="../sdk_dev_scripts.js"></script>
|
<script type="text/javascript" src="../sdk_dev_scripts.js"></script>
|
||||||
<script>
|
<script>
|
||||||
function isSailfish() {
|
|
||||||
var ua = navigator.userAgent;
|
var ua = navigator.userAgent;
|
||||||
return /Sailfish/.test(ua) || /Jolla/.test(ua);
|
|
||||||
}
|
|
||||||
|
|
||||||
if (isSailfish()) {
|
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;';
|
var ua = navigator.userAgent + ';Android 5.0;';
|
||||||
Object.defineProperty(navigator, 'userAgent', {
|
Object.defineProperty(navigator, 'userAgent', {
|
||||||
get: function () { return ua; }
|
get: function () { return ua; }
|
||||||
});
|
});
|
||||||
document.write('<script type="text/javascript" src="../../../vendor/iscroll/iscroll.js"><\/script>');
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
window.sdk_dev_scrpipts.forEach(function(item){
|
window.sdk_dev_scrpipts.forEach(function(item){
|
||||||
|
|
|
@ -182,17 +182,17 @@
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
function isSailfish() {
|
|
||||||
var ua = navigator.userAgent;
|
var ua = navigator.userAgent;
|
||||||
return /Sailfish/.test(ua) || /Jolla/.test(ua);
|
|
||||||
}
|
|
||||||
|
|
||||||
if (isSailfish()) {
|
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;';
|
var ua = navigator.userAgent + ';Android 5.0;';
|
||||||
Object.defineProperty(navigator, 'userAgent', {
|
Object.defineProperty(navigator, 'userAgent', {
|
||||||
get: function () { return ua; }
|
get: function () { return ua; }
|
||||||
});
|
});
|
||||||
document.write('<script type="text/javascript" src="../../../vendor/iscroll/iscroll.js"><\/script>');
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
function getUrlParams() {
|
function getUrlParams() {
|
||||||
|
|
|
@ -247,17 +247,17 @@
|
||||||
|
|
||||||
<script type="text/javascript" src="../sdk_dev_scripts.js"></script>
|
<script type="text/javascript" src="../sdk_dev_scripts.js"></script>
|
||||||
<script>
|
<script>
|
||||||
function isSailfish() {
|
|
||||||
var ua = navigator.userAgent;
|
var ua = navigator.userAgent;
|
||||||
return /Sailfish/.test(ua) || /Jolla/.test(ua);
|
|
||||||
}
|
|
||||||
|
|
||||||
if (isSailfish()) {
|
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;';
|
var ua = navigator.userAgent + ';Android 5.0;';
|
||||||
Object.defineProperty(navigator, 'userAgent', {
|
Object.defineProperty(navigator, 'userAgent', {
|
||||||
get: function () { return ua; }
|
get: function () { return ua; }
|
||||||
});
|
});
|
||||||
document.write('<script type="text/javascript" src="../../../vendor/iscroll/iscroll.js"><\/script>');
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
window.sdk_dev_scrpipts.forEach(function(item){
|
window.sdk_dev_scrpipts.forEach(function(item){
|
||||||
|
|
|
@ -181,17 +181,17 @@
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
function isSailfish() {
|
|
||||||
var ua = navigator.userAgent;
|
var ua = navigator.userAgent;
|
||||||
return /Sailfish/.test(ua) || /Jolla/.test(ua);
|
|
||||||
}
|
|
||||||
|
|
||||||
if (isSailfish()) {
|
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;';
|
var ua = navigator.userAgent + ';Android 5.0;';
|
||||||
Object.defineProperty(navigator, 'userAgent', {
|
Object.defineProperty(navigator, 'userAgent', {
|
||||||
get: function () { return ua; }
|
get: function () { return ua; }
|
||||||
});
|
});
|
||||||
document.write('<script type="text/javascript" src="../../../vendor/iscroll/iscroll.js"><\/script>');
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
function getUrlParams() {
|
function getUrlParams() {
|
||||||
|
|
Loading…
Reference in a new issue