Merge pull request #47 from ZeusWPI/7734485917411998476-patch-2
Fix: veel pinnen waren ten onrechte rood
This commit is contained in:
commit
cdf633a9bd
1 changed files with 1 additions and 1 deletions
|
@ -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";
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue