Do not reposition events while hidden

This commit is contained in:
nathangray 2016-05-25 15:21:39 -06:00
parent 105856f549
commit f3ec3a205c

View File

@ -857,6 +857,9 @@ var et2_calendar_daycol = (function(){ "use strict"; return et2_valueWidget.exte
*/ */
position_event: function(event) position_event: function(event)
{ {
// If hidden, skip it - it takes too long
if(!this.div.is(':visible')) return;
// Sort events into minimally-overlapping columns // Sort events into minimally-overlapping columns
var columns = this._spread_events(); var columns = this._spread_events();