From 689bac83d59ec89a96a66ae4f1e84bf70625998d Mon Sep 17 00:00:00 2001 From: wukko Date: Sat, 5 Aug 2023 01:06:02 +0600 Subject: [PATCH] disable ask how to save checkbox on ios --- src/front/cobalt.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/front/cobalt.js b/src/front/cobalt.js index dd4df65..aada497 100644 --- a/src/front/cobalt.js +++ b/src/front/cobalt.js @@ -475,7 +475,10 @@ window.onload = () => { eid("url-input-area").value = ""; notificationCheck(); loadCelebrationsEmoji(); - if (isIOS) sSet("downloadPopup", "true"); + if (isIOS) { + sSet("downloadPopup", "true"); + eid("downloadPopup-chkbx").style.pointerEvents = "none"; // wip, disables the checkbox without any signs + } let urlQuery = new URLSearchParams(window.location.search).get("u"); if (urlQuery !== null && regex.test(urlQuery)) { eid("url-input-area").value = urlQuery;