better support for ios
This commit is contained in:
1 parent
af7aefd85f
commit
42464bc72e
3 files changed
+48
-2
No files matched your search
+13
-2
@@ -27,12 +27,13 @@ const CONFIG = {
|
||||
*/
|
||||
logo: "assets/logo.svg",
|
||||
/*
|
||||
* Download URLs for jitsi-meet-electron client
|
||||
* Download URLs for jitsi-meet clients
|
||||
*/
|
||||
downloads: {
|
||||
windows: "https://github.com/jitsi/jitsi-meet-electron/releases",
|
||||
macos: "https://github.com/jitsi/jitsi-meet-electron/releases",
|
||||
linux: "https://github.com/jitsi/jitsi-meet-electron/releases"
|
||||
linux: "https://github.com/jitsi/jitsi-meet-electron/releases",
|
||||
ios: "https://apps.apple.com/app/jitsi-meet/id1165103905"
|
||||
}
|
||||
};
|
||||
|
||||
@@ -337,10 +338,12 @@ const browserLink = document.getElementById("browserLink");
|
||||
const windowsDownload = document.getElementById("windowsDownload");
|
||||
const macosDownload = document.getElementById("macosDownload");
|
||||
const linuxDownload = document.getElementById("linuxDownload");
|
||||
const iosDownload = document.getElementById("iosDownload");
|
||||
const otherDownload = document.getElementById("otherDownload");
|
||||
const windowsLink = document.getElementById("windowsLink");
|
||||
const macosLink = document.getElementById("macosLink");
|
||||
const linuxLink = document.getElementById("linuxLink");
|
||||
const iosLink = document.getElementById("iosLink");
|
||||
const createNewMeetingButton = document.getElementById("createNewMeetingButton");
|
||||
const createNewFromLauncherButton = document.getElementById("createNewFromLauncherButton");
|
||||
|
||||
@@ -627,6 +630,7 @@ function configureDownloads() {
|
||||
windowsDownload.classList.add("hidden");
|
||||
macosDownload.classList.add("hidden");
|
||||
linuxDownload.classList.add("hidden");
|
||||
iosDownload.classList.add("hidden");
|
||||
otherDownload.classList.add("hidden");
|
||||
|
||||
/* Windows */
|
||||
@@ -650,6 +654,13 @@ function configureDownloads() {
|
||||
return;
|
||||
}
|
||||
|
||||
/* iOS */
|
||||
if (os === "ios") {
|
||||
iosLink.href = CONFIG.downloads.ios;
|
||||
iosDownload.classList.remove("hidden");
|
||||
return;
|
||||
}
|
||||
|
||||
/* Alles andere */
|
||||
otherDownload.classList.remove("hidden");
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user