Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if (parkingActive && parkingLvivNoCurrentWeek) {
- const parkingElems = document.getElementsByClassName("parkingwrapper")
- if (values.office === "Lviv_test") {
- for (let item of parkingElems) {
- item.style.display = "none"
- }
- } else {
- for (let item of parkingElems) {
- item.style.display = "inline-flex"
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement