small fix
This commit is contained in:
parent
7f1600fd28
commit
3640730e81
2 changed files with 5 additions and 4 deletions
|
|
@ -96,12 +96,12 @@ validateIban = (target) => {
|
|||
validateAmount = (target) => {
|
||||
if (parseFloat(target.value) > 0) {
|
||||
target.classList.remove("is-danger")
|
||||
document.querySelector("#amount div span").innerHTML = "✅";
|
||||
document.querySelector("#amount div span.is-right").innerHTML = "✅";
|
||||
|
||||
regenerate();
|
||||
} else {
|
||||
target.classList.add("is-danger")
|
||||
document.querySelector("#amount div span").innerHTML = "❌";
|
||||
document.querySelector("#amount div span.is-right").innerHTML = "❌";
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue