From cff46f2d59cfdce2eca42103bf2fe13074db70c6 Mon Sep 17 00:00:00 2001 From: d11n Date: Mon, 20 Feb 2023 19:23:09 +0100 Subject: [PATCH] UI: Remove highlight for valid fields (#4669) --- BTCPayServer/Views/Shared/_ValidationScriptsPartial.cshtml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BTCPayServer/Views/Shared/_ValidationScriptsPartial.cshtml b/BTCPayServer/Views/Shared/_ValidationScriptsPartial.cshtml index 3d83359d2..9095f3aa6 100644 --- a/BTCPayServer/Views/Shared/_ValidationScriptsPartial.cshtml +++ b/BTCPayServer/Views/Shared/_ValidationScriptsPartial.cshtml @@ -9,7 +9,7 @@ $(element.form).find(`[data-valmsg-for="${element.id}"]`).addClass('invalid-feedback'); }, unhighlight: function (element) { - $(element).addClass("is-valid").removeClass("is-invalid"); + $(element).removeClass("is-invalid"); $(element.form).find(`[data-valmsg-for="${element.id}"]`).removeClass('invalid-feedback'); } });