Stop little scrolling when mouseover day header, then all day events

This commit is contained in:
Nathan Gray 2016-04-21 15:32:43 +00:00
parent 112ed53f47
commit 4a2b0e7aaa

View File

@ -1701,7 +1701,9 @@ var et2_calendar_timegrid = (function(){ "use strict"; return et2_calendar_view.
var node = document.elementFromPoint(x,y);
// Ignore high level & non-time (grid itself, header parent & week label)
if([this.node, this.gridHeader[0], this._labelContainer[0]].indexOf(node) !== -1)
if([this.node, this.gridHeader[0], this._labelContainer[0]].indexOf(node) !== -1 ||
// Day labels
this.gridHeader.has(node) && !$j(node).hasClass("calendar_calDayColAllDay"))
{
return [];
}