mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-10-01 14:41:14 +00:00
extra code removal
This commit is contained in:
@@ -14,10 +14,10 @@
|
|||||||
// }, 25);
|
// }, 25);
|
||||||
// }
|
// }
|
||||||
|
|
||||||
let ua = navigator.userAgent.toLowerCase();
|
const ua = navigator.userAgent.toLowerCase();
|
||||||
let isAndroid = ua.indexOf("android") > -1; // android check
|
const isAndroid = ua.indexOf("android") > -1; // android check
|
||||||
let isIphone = ua.indexOf("iphone") > -1; // ios check
|
const isIphone = ua.indexOf("iphone") > -1; // ios check
|
||||||
if (isIphone == true) {
|
if (isIphone === true) {
|
||||||
let url = window.location.href;
|
let url = window.location.href;
|
||||||
let app = {
|
let app = {
|
||||||
launchApp: function() {
|
launchApp: function() {
|
||||||
@@ -28,7 +28,7 @@
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
app.launchApp();
|
app.launchApp();
|
||||||
} else if (isAndroid== true) {
|
} else if (isAndroid === true) {
|
||||||
let app = {
|
let app = {
|
||||||
launchApp: function() {
|
launchApp: function() {
|
||||||
window.location.href = "intent:#Intent;scheme=androidamw;package=com.alfresco.content.app;end"; //which page to open(now from mobile, check its authorization)
|
window.location.href = "intent:#Intent;scheme=androidamw;package=com.alfresco.content.app;end"; //which page to open(now from mobile, check its authorization)
|
||||||
|
@@ -49,9 +49,6 @@
|
|||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
</head>
|
</head>
|
||||||
<!-- <script src="./assets/scripts/checkMobileDevice.js" type="text/javascript">
|
|
||||||
|
|
||||||
</script> -->
|
|
||||||
<body>
|
<body>
|
||||||
<main>
|
<main>
|
||||||
<app-root>
|
<app-root>
|
||||||
|
Reference in New Issue
Block a user