fix
This commit is contained in:
@@ -1102,7 +1102,8 @@
|
|||||||
|
|
||||||
// Set room icons based on room name
|
// Set room icons based on room name
|
||||||
document.addEventListener('DOMContentLoaded', () => {
|
document.addEventListener('DOMContentLoaded', () => {
|
||||||
const roomTitles = document.querySelectorAll('.room-title');
|
// Only select room titles that are <h2> elements (exclude Groups/Scenes sections)
|
||||||
|
const roomTitles = document.querySelectorAll('.room-title:not(.groups-section .room-title):not(.scenes-section .room-title)');
|
||||||
roomTitles.forEach(title => {
|
roomTitles.forEach(title => {
|
||||||
const roomName = title.textContent.trim().toLowerCase();
|
const roomName = title.textContent.trim().toLowerCase();
|
||||||
let icon = '🏠'; // Default
|
let icon = '🏠'; // Default
|
||||||
|
|||||||
Reference in New Issue
Block a user