Fixed chat
It now has a userID again, displays which user you are chatting withhover over user changes different background
This commit is contained in:
@@ -28,7 +28,7 @@
|
||||
|
||||
// Echo the friend.
|
||||
echo "
|
||||
<li class='friend-item' onclick='switchUser(\"$userID\")'>
|
||||
<li class='friend-item' id='friend-item-$userID' onclick='switchUser(\"$userID\")'>
|
||||
<div class='friend'>
|
||||
<img alt='PF' class='profile-picture' src='$pf'/>
|
||||
$username
|
||||
@@ -38,12 +38,6 @@
|
||||
}
|
||||
?>
|
||||
</ul>
|
||||
<!-- <a href="#">-->
|
||||
<!-- <div class="chat-conversation">-->
|
||||
<!-- <img class="profile-picture" src="https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTDnuRSeeyPve7KwDvJJ6OBzj3gyghwLcE2z9kZeYBOyZavh3mw">-->
|
||||
<!-- Rudolf Leslo-->
|
||||
<!-- </div>-->
|
||||
<!-- </a>-->
|
||||
</nav>
|
||||
<div class="chat-right right">
|
||||
<div id="chat-history" class="chat-history platform">
|
||||
@@ -74,7 +68,7 @@
|
||||
<input type="text"
|
||||
name="content"
|
||||
id="newContent"
|
||||
placeholder="Reageer..."
|
||||
placeholder="Schrijf een bericht..."
|
||||
autofocus
|
||||
required
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user