From: Michael J. Rubinsky Date: Mon, 22 Nov 2010 00:37:25 +0000 (-0500) Subject: Make sure we have a bottom rounded element X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=8906c208e4ffb7ec18e5204ae83968bdb04af03b;p=horde.git Make sure we have a bottom rounded element --- diff --git a/kronolith/js/mobile.js b/kronolith/js/mobile.js index 3c6707086..df7904f40 100644 --- a/kronolith/js/mobile.js +++ b/kronolith/js/mobile.js @@ -294,6 +294,8 @@ loc = false, title = $('
').addClass('kronolithEventDetailTitle').append($('

').text(e.t)), calendar = $('

').addClass('kronolithEventDetailCalendar').text(Kronolith.conf.calendars[e.ty][e.c]['name']); + + // Time var item = $('

'); if (e.r) { var recurText = Kronolith.text.recur.desc[e.r.t][(e.r.i > 1) ? 1 : 0]; @@ -356,6 +358,10 @@ list.append($('
  • ').append($('').attr({'rel': 'external', 'href': e.u}).text(e.u))); } + // Ensure we have a bottom li element, to close out the rounded look. + if (list.children('li').length == 1) { + list.append($('
  • ')); + } list.listview(); return list;