From de895427129c4d1bb63cde3378715902cc3e3cc5 Mon Sep 17 00:00:00 2001 From: Nathan Gray Date: Mon, 9 May 2016 20:48:50 +0000 Subject: [PATCH] Do not resize todos or day view if not visible. Hidden elements break the sizing without special handling. --- calendar/js/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/calendar/js/app.js b/calendar/js/app.js index 50f6dbd884..2d396668ae 100644 --- a/calendar/js/app.js +++ b/calendar/js/app.js @@ -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) {