Better style for the side bar + removing alert on copy

This commit is contained in:
Raven Scott
2024-06-13 05:24:44 -04:00
parent 6b3f043332
commit 145b5b728b
2 changed files with 83 additions and 5 deletions

View File

@ -91,7 +91,7 @@
if (chatRoomTopic) {
const topic = chatRoomTopic.innerText;
navigator.clipboard.writeText(topic).then(() => {
alert('Topic copied to clipboard!');
console.log('Topic copied to clipboard:', topic);
}).catch(err => {
console.error('Failed to copy topic:', err);
});