This commit is contained in:
Raphaël Jakse 2020-11-22 22:55:24 +01:00
parent e3b4fc0b7e
commit 8fce6213ca
1 changed files with 9 additions and 9 deletions

View File

@ -144,8 +144,8 @@
} }
divAlert.classList.remove("prompt"); divAlert.classList.remove("prompt");
divAlert.classList.remove('choice'); divAlert.classList.remove("choice");
divAlert.classList.remove('choice-inline'); divAlert.classList.remove("choice-inline");
divAlertContent.textContent = msg; divAlertContent.textContent = msg;
divAlertInput.style.display = "none"; divAlertInput.style.display = "none";
@ -164,8 +164,8 @@
} }
divAlert.classList.add("prompt"); divAlert.classList.add("prompt");
divAlert.classList.remove('choice'); divAlert.classList.remove("choice");
divAlert.classList.remove('choice-inline'); divAlert.classList.remove("choice-inline");
divAlertContent.textContent = msg; divAlertContent.textContent = msg;
divAlertInput.style.display = ""; divAlertInput.style.display = "";
@ -189,8 +189,8 @@
} }
divAlert.classList.remove("prompt"); divAlert.classList.remove("prompt");
divAlert.classList.remove('choice'); divAlert.classList.remove("choice");
divAlert.classList.remove('choice-inline'); divAlert.classList.remove("choice-inline");
divAlertContent.textContent = msg; divAlertContent.textContent = msg;
divAlertInput.style.display = "none"; divAlertInput.style.display = "none";
@ -208,12 +208,12 @@
} }
divAlert.classList.remove("prompt"); divAlert.classList.remove("prompt");
divAlert.classList.add('choice'); divAlert.classList.add("choice");
if (options.dispositionInline) { if (options.dispositionInline) {
divAlert.classList.add('choice-inline'); divAlert.classList.add("choice-inline");
} else { } else {
divAlert.classList.remove('choice-inline'); divAlert.classList.remove("choice-inline");
} }
alertSelect.options.length = 0; alertSelect.options.length = 0;