Prevent small event display from being wrecked by partial scroll out of view

This commit is contained in:
Nathan Gray 2016-04-12 22:48:16 +00:00
parent 988720340d
commit 8ada80fac3

View File

@ -592,7 +592,7 @@ var et2_calendar_daycol = (function(){ "use strict"; return et2_valueWidget.exte
} }
// Only top is hidden, move label // Only top is hidden, move label
// Bottom hidden is fine // Bottom hidden is fine
if(hidden.hidden === 'top' && !hidden.completely) if(hidden.hidden === 'top' && !hidden.completely && !event.div.hasClass('calendar_calEventSmall'))
{ {
var title_height = event.title.outerHeight(); var title_height = event.title.outerHeight();
event.title.css({ event.title.css({