fix regression in alert window
authorLaurent Mazet <mazet@softndesign.org>
Tue, 24 Nov 2020 07:01:16 +0000 (08:01 +0100)
committerLaurent Mazet <mazet@softndesign.org>
Tue, 24 Nov 2020 07:01:16 +0000 (08:01 +0100)
public/alert.css
public/alert.js

index c2e8962c963fd4ec07a1367ed76085cb9d44e0b5..1619c3e42d3b3642331b7dea075a7dd1fdb01693 100644 (file)
@@ -85,7 +85,7 @@
     display: none;
 }
 
-.alert.choice .alert-prompt-buttons {
+.alert.choice .alert-prompt-buttons, .alert.prompt .alert-prompt-buttons {
     display: block;
 }
 
index fcad77ef84614d52a6a6f6098afc7fd0390742ac..1a433263b7e45eaedc8fe0c2feaf3d624e97ef2d 100644 (file)
         divAlerPromptButton.lastChild.textContent = _("OK");
         divAlerPromptButton.lastChild.onclick = promptOK;
         divAlerPromptButton.appendChild(document.createElement("button"));
-        divAlerPromptButton.lastChild.textContent = _("Annuler");
+        divAlerPromptButton.lastChild.textContent = _("Cancel");
         divAlerPromptButton.lastChild.onclick = promptCancel;
 
         divAlertConfirm = document.createElement("div");