Merge pull request #47 from ZeusWPI/7734485917411998476-patch-2

Fix: veel pinnen waren ten onrechte rood
This commit is contained in:
redfast00 2021-06-03 00:16:53 +02:00 committed by GitHub
commit cdf633a9bd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -56,7 +56,7 @@ $(document).ready(function() {
} else if (feature.properties.holidays && christmasSeason) { } else if (feature.properties.holidays && christmasSeason) {
icon = christmasIcon; icon = christmasIcon;
iconDescription = "christmas"; iconDescription = "christmas";
} else if (!feature.properties.hours.saturday && !feature.properties.hours.sunday) { } else if ((!feature.properties.hours.saturday && !feature.properties.hours.sunday)||(feature.properties.hours.saturday.toLowerCase()==="gesloten"&&feature.properties.hours.sunday.toLowerCase()==="gesloten")) {
icon = blueIcon; icon = blueIcon;
iconDescription = "blue"; iconDescription = "blue";
} }