feat: make donations fancy
This commit is contained in:
parent
67cd3eff70
commit
178ca6791c
1 changed files with 7 additions and 0 deletions
|
@ -210,6 +210,13 @@ if (!$_SERVER['DOCUMENT_ROOT']) {
|
|||
document.getElementById(curId).style.textDecoration = "underline";
|
||||
}
|
||||
|
||||
if(lastjson.length < 5 ){
|
||||
document.getElementById(curId).style.color = "#ffff00";
|
||||
document.getElementById(curId).style.fontSize = "38px";
|
||||
document.getElementById(curId).style.fontWeight = "900";
|
||||
document.getElementById(curId).style.textDecoration = "underline";
|
||||
}
|
||||
|
||||
let progbar = document.getElementById("pprogress")
|
||||
progbar.max = goalAmount;
|
||||
progbar.value = curAmount;
|
||||
|
|
Loading…
Reference in a new issue