disable ask how to save checkbox on ios

This commit is contained in:
wukko 2023-08-05 01:06:02 +06:00
parent 5580eb1e13
commit 689bac83d5

View file

@ -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;