Committer: dpetrov
LJSUP-9492: Bad HTML at Calendar in MinimalismU trunk/htdocs/js/jquery/jquery.lj.inlineCalendar.js
Modified: trunk/htdocs/js/jquery/jquery.lj.inlineCalendar.js =================================================================== --- trunk/htdocs/js/jquery/jquery.lj.inlineCalendar.js 2011-08-11 10:13:15 UTC (rev 10853) +++ trunk/htdocs/js/jquery/jquery.lj.inlineCalendar.js 2011-08-12 01:29:10 UTC (rev 10854) @@ -217,10 +217,11 @@ } d.setDate( d.getDate() - 1 ); //get the date from the last cell + //we do not use show and hide methods, because show method sets display: block; if( d.getDate() < 7 ) { - nodes.lastRow.show(); + nodes.lastRow.css('display', ''); } else { - nodes.lastRow.hide(); + nodes.lastRow.css('display', 'none'); } };