Commit 18670825 authored by Renfred Harper's avatar Renfred Harper

Fix bug that caused restaurants to incorrectly be shown as open

parent f29d406e
......@@ -118,7 +118,7 @@ function update_grid(restaurants) {
return false;
}
} else if (start_day > end_day) {
if (day < start_day || day > end_day) {
if (day > start_day || day < end_day) {
restaurant.open = true;
restaurant.current = time;
return false;
......
Markdown is supported
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