sometimes profile cards became "sticky", so always make sure there's no card over streams that don't have the qvitter-user-array header
This commit is contained in:
parent
d8abe400a7
commit
bf0c0fcbc9
|
@ -631,6 +631,10 @@ function setNewCurrentStream(streamObject,setLocation,fallbackId,actionOnSuccess
|
|||
if(userArray) {
|
||||
addProfileCardToDOM(buildProfileCard(userArray));
|
||||
}
|
||||
// remove any trailing profile cards
|
||||
else {
|
||||
$('.profile-card').remove();
|
||||
}
|
||||
|
||||
// show group profile card if this is a group stream
|
||||
if(streamObject.name == 'group notice stream'
|
||||
|
|
Loading…
Reference in New Issue
Block a user