summaryrefslogtreecommitdiffstats
path: root/modules-available/locationinfo/templates
diff options
context:
space:
mode:
Diffstat (limited to 'modules-available/locationinfo/templates')
-rwxr-xr-xmodules-available/locationinfo/templates/frontend-default.html4
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 d4e8109a..45db3f3d 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);