summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Hofmaier2018-12-04 17:15:39 +0100
committerChristian Hofmaier2018-12-04 17:15:39 +0100
commit7d9cf0a24308b2204fd063cc2fd0ef0af7f59d50 (patch)
treed6d2d621d610d7bb1df971ee6c9fba41fdd914ea
parent[locationinfo] fix panel being closed all day long (diff)
downloadslx-admin-7d9cf0a24308b2204fd063cc2fd0ef0af7f59d50.tar.gz
slx-admin-7d9cf0a24308b2204fd063cc2fd0ef0af7f59d50.tar.xz
slx-admin-7d9cf0a24308b2204fd063cc2fd0ef0af7f59d50.zip
[locationinfo] fix panel being closed all day long in summary
-rw-r--r--modules-available/locationinfo/templates/frontend-summary.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules-available/locationinfo/templates/frontend-summary.html b/modules-available/locationinfo/templates/frontend-summary.html
index 0053d1ff..adb3ce39 100644
--- a/modules-available/locationinfo/templates/frontend-summary.html
+++ b/modules-available/locationinfo/templates/frontend-summary.html
@@ -466,7 +466,7 @@
var closeDate = new MyDate();
closeDate.setHours(tmp[i].HourClose);
closeDate.setMinutes(tmp[i].MinutesClose);
- if (openDate < now && closeDate > now) {
+ if (openDate <= now && closeDate > now) {
return true;
}
}