diff options
author | Christian Hofmaier | 2019-06-04 14:07:24 +0200 |
---|---|---|
committer | Christian Hofmaier | 2019-06-04 14:07:24 +0200 |
commit | 263d58ffe280cf0740a5c1de76721789f399a48b (patch) | |
tree | 0af3bdfca4aaaa58a5b96a66c5ecb612f0fdbc48 /modules-available | |
parent | [locationinfo] fix bug override not loading correctly into edit menu (diff) | |
download | slx-admin-263d58ffe280cf0740a5c1de76721789f399a48b.tar.gz slx-admin-263d58ffe280cf0740a5c1de76721789f399a48b.tar.xz slx-admin-263d58ffe280cf0740a5c1de76721789f399a48b.zip |
[locationinfo] fix bug 'open for' without times
Diffstat (limited to 'modules-available')
-rwxr-xr-x | modules-available/locationinfo/templates/frontend-default.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules-available/locationinfo/templates/frontend-default.html b/modules-available/locationinfo/templates/frontend-default.html index 7cd52094..98149bb9 100755 --- a/modules-available/locationinfo/templates/frontend-default.html +++ b/modules-available/locationinfo/templates/frontend-default.html @@ -1190,8 +1190,8 @@ optional: if (newText !== false) { room.$.currentEvent.text(newText); } - if (newTime !== false) { - room.$.currentRemain.text(t("for") + " " +newTime); + if (newTime !== false && newTime !== '') { + room.$.currentRemain.text(t("for") + " " + newTime); } if (room.lastFreeSeats !== seats || !same) { SetFreeSeats(room); |