Skip to content

Commit

Permalink
v3.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
deviprsd committed Nov 20, 2014
1 parent e84ac0d commit 2a43e1f
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions index2.html
Expand Up @@ -71,14 +71,10 @@ <h3 id="custom-year" class="custom-year"></h3>
$wrapper = $( '#custom-inner' ),
$calendar = $( '#calendar' ),
cal = $calendar.calendario({
onDayClick : function( $el, contentEl, dateProperties ) {
onDayClick : function( $el, data, dateProperties ) {

if( contentEl.length > 0 ) {
if(dateProperties.startTime.length > 0) {
console.log(dateProperties.startTime);
console.log(dateProperties.endTime);
}
showEvents( contentEl, dateProperties );
if(data.content.length > 0 ) {
showEvents(data.content, dateProperties );
}

},
Expand Down

0 comments on commit 2a43e1f

Please sign in to comment.