Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Nicholas J Anderson
whats-open
Commits
18670825
Commit
18670825
authored
Nov 19, 2013
by
Renfred Harper
Browse files
Fix bug that caused restaurants to incorrectly be shown as open
parent
f29d406e
Changes
1
Hide whitespace changes
Inline
Side-by-side
website/static/js/grid.js
View file @
18670825
...
...
@@ -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
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment