From f3ec3a205c614cddc68627583cce4e219335c918 Mon Sep 17 00:00:00 2001 From: nathangray Date: Wed, 25 May 2016 15:21:39 -0600 Subject: [PATCH] Do not reposition events while hidden --- calendar/js/et2_widget_daycol.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/calendar/js/et2_widget_daycol.js b/calendar/js/et2_widget_daycol.js index 814fa4b886..15552249f3 100644 --- a/calendar/js/et2_widget_daycol.js +++ b/calendar/js/et2_widget_daycol.js @@ -857,6 +857,9 @@ var et2_calendar_daycol = (function(){ "use strict"; return et2_valueWidget.exte */ position_event: function(event) { + // If hidden, skip it - it takes too long + if(!this.div.is(':visible')) return; + // Sort events into minimally-overlapping columns var columns = this._spread_events();