From 865e196d89fdbce213c4286f55ae1858dd5cfecd Mon Sep 17 00:00:00 2001 From: Christian Hofmaier Date: Tue, 4 Jun 2019 14:07:24 +0200 Subject: [locationinfo] fix bug 'open for' without times --- modules-available/locationinfo/templates/frontend-default.html | 4 ++-- 1 file 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); -- cgit v1.2.3-55-g7522