From 4a2b0e7aaab2ed2da54e0cf315f977d3ce0e3f5f Mon Sep 17 00:00:00 2001 From: Nathan Gray Date: Thu, 21 Apr 2016 15:32:43 +0000 Subject: [PATCH] Stop little scrolling when mouseover day header, then all day events --- calendar/js/et2_widget_timegrid.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/calendar/js/et2_widget_timegrid.js b/calendar/js/et2_widget_timegrid.js index c15f751397..7a55d61a90 100644 --- a/calendar/js/et2_widget_timegrid.js +++ b/calendar/js/et2_widget_timegrid.js @@ -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 []; }