Skip to content

Commit

Permalink
Merge pull request #80 from CMU-17313Q/userstory5frontend
Browse files Browse the repository at this point in the history
User Story 5 frontend - message.tpl, index.js
  • Loading branch information
DachiCharkviani authored Oct 20, 2024
2 parents d88ab9f + 469c50b commit c50229b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion public/src/client/register.js
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ define('forum/register', [
if (results.every(obj => obj.status === 'rejected')) {
showSuccess(usernameInput, username_notify, successIcon);
} else {
showError(usernameInput, username_notify, 'Username taken. Try 1234'+username);
showError(usernameInput, username_notify, 'Username taken. Try 1234' + username);
}

callback();
Expand Down
5 changes: 3 additions & 2 deletions src/views/partials/chats/message.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@
background: none;
cursor: pointer;
}
// l
.read-receipt.all-read {
color: blue; /* Change to blue when all users have clicked */
}
Expand All @@ -114,5 +114,6 @@ function markAsRead(messageId) {
messageElement.classList.add('all-read');
}
}
// k
</script>

</script>

0 comments on commit c50229b

Please sign in to comment.