FCLT#55757 Class 'open' maakt max-height: none, dat willen we eigenlijk voorkomen, dus dit verwijderd
svn path=/Website/branches/v2018.2/; revision=40209
This commit is contained in:
@@ -247,6 +247,9 @@ 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;
|
||||
|
||||
@@ -258,18 +261,15 @@ if (mld_key > 0)
|
||||
|
||||
// ...meer/...minder toggle
|
||||
if ($(this).hasClass("open"))
|
||||
{
|
||||
$(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");
|
||||
else
|
||||
{
|
||||
$(this).prev().animate({ "maxHeight": initMaxHeight }, ANIMATION_DURATION);
|
||||
$(this).html("<%=L("lcl_rs_truncated")%>");
|
||||
}
|
||||
|
||||
if (!toggleAll)
|
||||
{
|
||||
|
||||
@@ -1800,6 +1800,7 @@ span.notetoggler {
|
||||
color: #888;
|
||||
cursor: pointer;
|
||||
}
|
||||
/* max-height staat ook hardcoded in mld_show_note2.asp */
|
||||
div.notetoggler {
|
||||
max-height:100px;
|
||||
overflow:hidden;
|
||||
@@ -1809,9 +1810,6 @@ div.notetoggler {
|
||||
div.notetoggler.autocollapse {
|
||||
max-height:18px;
|
||||
}
|
||||
div.notetoggler.open {
|
||||
max-height:none;
|
||||
}
|
||||
.note_fe_hidden {
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user