FCLT#55757 Class 'open' maakt max-height: none, dat willen we eigenlijk voorkomen, dus plakken we deze pas achteraan
svn path=/Website/branches/v2018.2/; revision=40208
This commit is contained in:
@@ -247,9 +247,6 @@ if (mld_key > 0)
|
||||
|
||||
function toggleNotes(event, toggleAll)
|
||||
{
|
||||
$(this).toggleClass("open");
|
||||
$(this).prev().toggleClass("open");
|
||||
|
||||
var maxHeight = getScrollHeight($(this).prev());
|
||||
var initMaxHeight = $(this).prev().hasClass("autocollapse") ? 18 : 100;
|
||||
|
||||
@@ -261,15 +258,18 @@ if (mld_key > 0)
|
||||
|
||||
// ...meer/...minder toggle
|
||||
if ($(this).hasClass("open"))
|
||||
{
|
||||
$(this).prev().animate({ "maxHeight": maxHeight }, ANIMATION_DURATION);
|
||||
$(this).html("<%=L("lcl_rs_truncate")%>");
|
||||
}
|
||||
else
|
||||
{
|
||||
$(this).prev().animate({ "maxHeight": initMaxHeight }, ANIMATION_DURATION);
|
||||
$(this).html("<%=L("lcl_rs_truncated")%>");
|
||||
}
|
||||
else
|
||||
{
|
||||
$(this).prev().animate({ "maxHeight": maxHeight }, ANIMATION_DURATION);
|
||||
$(this).html("<%=L("lcl_rs_truncate")%>");
|
||||
}
|
||||
|
||||
$(this).toggleClass("open");
|
||||
$(this).prev().toggleClass("open");
|
||||
|
||||
if (!toggleAll)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user