css: minor improvements

This commit is contained in:
Sebastian Castro 2020-04-06 14:31:07 +02:00 committed by muxator
parent a5164dad43
commit 51b857ad1a
15 changed files with 73 additions and 40 deletions

View file

@ -207,6 +207,7 @@ var paduserlist = (function()
tr = $(getRowHtml(domId, getEmptyRowHtml(getAnimationHeight(ANIMATION_START)), authorId));
}
handleRowNode(tr, data);
$("table#otheruserstable").show();
if (position == 0)
{
$("table#otheruserstable").prepend(tr);
@ -263,6 +264,9 @@ var paduserlist = (function()
scheduleAnimation();
}
}
if (rowsPresent.length === 0) {
$("table#otheruserstable").hide();
}
}
// newPosition is position after the row has been removed