diff --git a/templates/browse.html b/templates/browse.html
index c072900..6d9e209 100644
--- a/templates/browse.html
+++ b/templates/browse.html
@@ -73,6 +73,10 @@
.room-tab:hover {
color: var(--button-primary);
}
+ .room-tab:focus {
+ outline: none;
+ background: none;
+ }
.room-tab.active {
color: var(--button-primary);
border-bottom-color: var(--button-primary);
@@ -193,10 +197,10 @@
-
@@ -276,12 +280,12 @@
const savedTheme = localStorage.getItem('theme') || 'light';
document.documentElement.setAttribute('data-theme', savedTheme);
- function switchTab(tab) {
+ function switchTab(tab, element) {
// Update tab buttons
document.querySelectorAll('.room-tab').forEach(btn => {
btn.classList.remove('active');
});
- event.target.classList.add('active');
+ element.classList.add('active');
// Update sections
document.querySelectorAll('.room-section').forEach(section => {