Skip to content

Commit

Permalink
Remove log, fix if end date
Browse files Browse the repository at this point in the history
  • Loading branch information
jmontoyaa committed Jan 20, 2017
1 parent 7bc20c5 commit a59bb9a
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions main/template/default/agenda/month.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,6 @@ $(document).ready(function() {
}
}
}
console.log(eventList);
this.el.empty().append(tableEl);
},
Expand All @@ -153,7 +152,10 @@ $(document).ready(function() {
var view = this.view;
var mainFormat = 'LL';
var altFormat = 'dddd';
var checkIfSame = event.end.format(mainFormat) == dayDate.format(mainFormat);
var checkIfSame = true;
if (event.end) {
checkIfSame = event.end.format(mainFormat) == dayDate.format(mainFormat);
}
return '<tr class="fc-list-heading" data-date="' + dayDate.format('YYYY-MM-DD') + '">' +
'<td class="' + view.widgetHeaderClass + '" colspan="3">' +
Expand Down

0 comments on commit a59bb9a

Please sign in to comment.