Commit db02cc59 authored by Traboulsi's avatar Traboulsi
Browse files

Update public/js/paperfilter.js

parent 7bae11de
Pipeline #8765 passed with stage
in 10 seconds
...@@ -172,11 +172,11 @@ function filter(year){ ...@@ -172,11 +172,11 @@ function filter(year){
document.getElementById("filterall").style.backgroundColor = "grey" document.getElementById("filterall").style.backgroundColor = "grey"
document.getElementById("filter2022").style.backgroundColor = "lightgrey" document.getElementById("filter2022").style.backgroundColor = "lightgrey"
document.getElementById("filter2019").innerHTML = "2019" document.getElementById("filter2019").innerHTML = "2019"
document.getElementById("filterall").innerHTML = "All" document.getElementById("filter2022").innerHTML = "2022"
document.getElementById("filter2021").innerHTML = "2021" document.getElementById("filter2021").innerHTML = "2021"
document.getElementById("filter2023").innerHTML = "2023" document.getElementById("filter2023").innerHTML = "2023"
document.getElementById("filter2020").innerHTML = "2020" document.getElementById("filter2020").innerHTML = "2020"
document.getElementById("filter2022").innerHTML = "2022 (" + count +")" document.getElementById("filterall").innerHTML = "All (" + count +")"
count = 0 count = 0
} }
if (year == "2020") { if (year == "2020") {
......
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