From 8906c208e4ffb7ec18e5204ae83968bdb04af03b Mon Sep 17 00:00:00 2001 From: "Michael J. Rubinsky" Date: Sun, 21 Nov 2010 19:37:25 -0500 Subject: [PATCH] Make sure we have a bottom rounded element --- kronolith/js/mobile.js | 6 ++++++ 1 file changed, 6 insertions(+) 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; -- 2.11.0