mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2024-11-19 01:43:50 +01:00
UI: Remove highlight for valid fields (#4669)
This commit is contained in:
parent
bbbaacc350
commit
cff46f2d59
@ -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');
|
||||
}
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user