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 + "
    "+ "
  • ";