Commit 7bae11de authored by Traboulsi's avatar Traboulsi
Browse files

Update public/js/paperfilter.js

parent c6dfe9aa
Pipeline #8764 passed with stage
in 9 seconds
......@@ -240,6 +240,8 @@ function filter(year){
}
else if (year == "2023"){
state2023 = 0
}else if (year == "All"){
stateall = 0
}
document.getElementById("filter2020").style.backgroundColor = "lightgrey"
document.getElementById("nextblock").style.display = "block"
......@@ -253,10 +255,12 @@ function filter(year){
document.getElementById("filter2020").style.backgroundColor = "lightgrey"
document.getElementById("filter2022").style.backgroundColor = "lightgrey"
document.getElementById("filter2023").style.backgroundColor = "lightgrey"
document.getElementById("filterall").style.backgroundColor = "lightgrey"
document.getElementById("filter2019").innerHTML = "2019"
document.getElementById("filter2021").innerHTML = "2021"
document.getElementById("filter2020").innerHTML = "2020"
document.getElementById("filter2022").innerHTML = "2022"
document.getElementById("filter2023").innerHTML = "2023"
document.getElementById("filterall").innerHTML = "All"
}
}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment