avatar row can overflow, but hidden
This commit is contained in:
parent
1e36c997f0
commit
fb4ad4e1f9
|
@ -2216,6 +2216,7 @@ ul.stats {
|
||||||
list-style-position: outside;
|
list-style-position: outside;
|
||||||
list-style-type: none;
|
list-style-type: none;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
|
width: 1000px;
|
||||||
}
|
}
|
||||||
.queet.rtl ul.stats {
|
.queet.rtl ul.stats {
|
||||||
text-align:right;
|
text-align:right;
|
||||||
|
|
|
@ -116,7 +116,9 @@ function showFavsAndRequeetsInQueet(q,data) {
|
||||||
var avatarnum = 1;
|
var avatarnum = 1;
|
||||||
$.each(timeSorted,function(){
|
$.each(timeSorted,function(){
|
||||||
q.children('.queet').find('.avatar-row').append('<a title="' + favsAndRepeatsByTime[this].fullname + '" data-user-id="' + favsAndRepeatsByTime[this].user_id + '" href="' + favsAndRepeatsByTime[this].profileurl + '"><img alt="' + favsAndRepeatsByTime[this].fullname + '" src="' + favsAndRepeatsByTime[this].avatarurl + '" class="avatar size24" id="av-' + favsAndRepeatsByTime[this].user_id + '"></a>');
|
q.children('.queet').find('.avatar-row').append('<a title="' + favsAndRepeatsByTime[this].fullname + '" data-user-id="' + favsAndRepeatsByTime[this].user_id + '" href="' + favsAndRepeatsByTime[this].profileurl + '"><img alt="' + favsAndRepeatsByTime[this].fullname + '" src="' + favsAndRepeatsByTime[this].avatarurl + '" class="avatar size24" id="av-' + favsAndRepeatsByTime[this].user_id + '"></a>');
|
||||||
return (avatarnum < 8);
|
if(avatarnum > 15) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
avatarnum++;
|
avatarnum++;
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user