Do not resize todos or day view if not visible. Hidden elements break the sizing without special handling.

This commit is contained in:
Nathan Gray 2016-05-09 20:48:50 +00:00
parent f550d4a503
commit de89542712

View File

@ -2226,7 +2226,7 @@ app.classes.calendar = (function(){ "use strict"; return AppJS.extend(
},this,et2_calendar_timegrid);
}
}
else
else if($j(view.etemplates[0].DOMContainer).is(':visible'))
{
$j(view.etemplates[0].DOMContainer).css("width","100%");
view.etemplates[0].widgetContainer.iterateOver(function(w) {