From 933e0c30bfb96ba937f1c9d47845c4aa1d861918 Mon Sep 17 00:00:00 2001 From: Dennis Reimann Date: Sun, 18 Oct 2020 11:10:51 +0200 Subject: [PATCH] Remove empty box on post redirect (#1995) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit In case JS is enabled the post redirect page showed an empty box. This box contains the explanation text for the non-JS text. This changes it to only show the modal box in casee JS is disabled, because the page – even though only visible briefly –  looks weird for users with JS enabled. --- BTCPayServer/Views/Shared/PostRedirect.cshtml | 40 ++++++++++--------- 1 file changed, 21 insertions(+), 19 deletions(-) diff --git a/BTCPayServer/Views/Shared/PostRedirect.cshtml b/BTCPayServer/Views/Shared/PostRedirect.cshtml index 30e33c1a4..b1bb2c2d0 100644 --- a/BTCPayServer/Views/Shared/PostRedirect.cshtml +++ b/BTCPayServer/Views/Shared/PostRedirect.cshtml @@ -17,25 +17,27 @@ Post Redirect - +
+ @Html.AntiForgeryToken() + @foreach (var o in Model.Parameters) + { + + } + +