From: Laurent Mazet Date: Tue, 24 Nov 2020 07:01:16 +0000 (+0100) Subject: fix regression in alert window X-Git-Url: https://secure.softndesign.org/git/?a=commitdiff_plain;h=899cb609fab48cdb0714d355e59b940cf50e3c76;p=trivabble.git fix regression in alert window --- diff --git a/public/alert.css b/public/alert.css index c2e8962..1619c3e 100644 --- a/public/alert.css +++ b/public/alert.css @@ -85,7 +85,7 @@ display: none; } -.alert.choice .alert-prompt-buttons { +.alert.choice .alert-prompt-buttons, .alert.prompt .alert-prompt-buttons { display: block; } diff --git a/public/alert.js b/public/alert.js index fcad77e..1a43326 100644 --- a/public/alert.js +++ b/public/alert.js @@ -104,7 +104,7 @@ 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");