Fix a case where clicking between the space for adding all day non-blocking area and the header went to day view.

This commit is contained in:
nathangray 2016-07-28 14:43:11 -06:00
parent 474e32db67
commit a019185ec2

View File

@ -1100,7 +1100,7 @@ var et2_calendar_daycol = (function(){ "use strict"; return et2_valueWidget.exte
}
}
// Day label
else if(this.title.is(_ev.target) || this.title.has(_ev.target))
else if(this.title.is(_ev.target) || this.title.has(_ev.target).length)
{
app.calendar.update_state({view: 'day',date: this.date.toJSON()});
return false;