Skip to content

Commit

Permalink
cs
Browse files Browse the repository at this point in the history
  • Loading branch information
mrubinsk committed Oct 4, 2016
1 parent e25cdc7 commit e5825b6
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions kronolith/js/smartmobile.js
Expand Up @@ -314,19 +314,16 @@ var KronolithMobile = {
{
var list = $('<ul>')
.addClass('kronolithEventDetail')
.attr({'data-role': 'listview', 'data-inset': true});

var loc = false;

KronolithMobile.event = e;
.attr({'data-role': 'listview', 'data-inset': true}),
loc = false, item = $('<div>');

// Title and calendar
var title = $('<div>').addClass('kronolithEventDetailTitle').append($('<h2>').text(e.t));
var calendar = $('<p>').addClass('kronolithEventDetailCalendar').text(Kronolith.conf.calendars[e.ty][e.c]['name']);
list.append($('<li>').append(title).append(calendar));

// Time
var item = $('<div>');
KronolithMobile.event = e;

if (e.r) {
var recurText = Kronolith.text.recur.desc[e.r.t][(e.r.i > 1) ? 1 : 0],
date = Date.parse(e.s);
Expand Down

0 comments on commit e5825b6

Please sign in to comment.