From 851adba296366b22a85c368d4b7d42039819a063 Mon Sep 17 00:00:00 2001 From: gine Date: Sat, 25 Mar 2017 18:41:35 +0100 Subject: [PATCH] Posizionate date eventi sulla stessa linea --- www/js/crud.events.js | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/www/js/crud.events.js b/www/js/crud.events.js index 38df0d3..ea94347 100644 --- a/www/js/crud.events.js +++ b/www/js/crud.events.js @@ -106,9 +106,9 @@ EVENTS.loadFromDb = function (containerId, type) { var evEndDate = EVENTS.formatDate(item.endDate, EVENTS.displayDateFormat); var evFrom = "Da: " + evInitDate + ""; - var evTo = ""; + var evTo = " "; if(evEndDate !== "") { - evTo = "
" + "A: " + evEndDate + ""; + evTo += "A: " + evEndDate + ""; } var li = "
  • " + @@ -117,8 +117,7 @@ EVENTS.loadFromDb = function (containerId, type) { item.title + "" + "
    " + - evFrom + - evTo + + evFrom + evTo + "
    "+ "
  • ";