Compare commits

..

No commits in common. "9d759e5af37a149d4c0ba53fa4016b083d5e1bc0" and "241cf62220a5ee360b1b96e0f020c19053deca32" have entirely different histories.

2 changed files with 1 additions and 5 deletions

3
app.js
View File

@ -631,7 +631,6 @@ function addFileMessage(from, fileName, fileUrl, fileType, avatar, topic) {
const $img = document.createElement('img');
$img.src = updatePortInUrl(avatar) || 'https://via.placeholder.com/40';
$img.classList.add('avatar');
$img.draggable = false;
$div.appendChild($img);
const $content = document.createElement('div');
@ -696,7 +695,6 @@ function onMessageAdded(from, message, avatar, topic, timestamp) {
const $img = document.createElement('img');
$img.src = updatePortInUrl(avatar) || 'https://via.placeholder.com/40'; // Default to a placeholder image if avatar URL is not provided
$img.classList.add('avatar');
$img.draggable = false;
$div.appendChild($img);
const $content = document.createElement('div');
@ -779,7 +777,6 @@ function addAudioMessage(from, audioUrl, avatar, topic) {
const $img = document.createElement('img');
$img.src = updatePortInUrl(avatar) || 'https://via.placeholder.com/40';
$img.classList.add('avatar');
$img.draggable = false;
$div.appendChild($img);
const $content = document.createElement('div');

View File

@ -444,7 +444,6 @@ main {
border-radius: 50%;
margin-right: 0.5rem;
border: 2px solid #464343;
user-select: none;
}
.message-content {