From 899cb609fab48cdb0714d355e59b940cf50e3c76 Mon Sep 17 00:00:00 2001 From: Laurent Mazet Date: Tue, 24 Nov 2020 08:01:16 +0100 Subject: [PATCH] fix regression in alert window --- public/alert.css | 2 +- public/alert.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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"); -- 2.30.2