function removeFriendElement(uid) {
    document.getElementById("user" + uid).remove();

    friendCount--;
    if(friendCount == 0){
      deployFriendListEmptyNotification();
    }
  }
//This function removes the friend's element from the webpage.
This function removes the friend's element from the webpage.
This function removes the friend ' s element from the webpage .
function removeFriendElement(uid) {
    document.getElementById("user" + uid).remove();
    friendCount--;
    if(friendCount == 0){
      deployFriendListEmptyNotification();
    }
  }
function removeFriendElement ( uid ) { document . getElementById ( "user" + uid ) . remove ( ) ; friendCount -- ; if ( friendCount == 0 ) { deployFriendListEmptyNotification ( ) ; } }
This function removes the friend's element from the webpage.
This function removes the friend ' s element from the webpage .