Commit 8f3ed425 authored by Traboulsi's avatar Traboulsi
Browse files

Update public/index.html

parent 9674d846
Pipeline #11260 passed with stage
in 8 seconds
...@@ -1381,14 +1381,14 @@ Implementations, and Perspectives ...@@ -1381,14 +1381,14 @@ Implementations, and Perspectives
} }
function resetTopic() { function resetTopic() {
const items = document.querySelectorAll('[data-topic]'); // Obere Beschreibungen ausblenden
const topicDetails = document.querySelectorAll('.topic-details'); document.querySelectorAll('.topic-details').forEach(el => el.style.display = 'none');
const buttons = document.querySelectorAll('.topic-buttons button');
buttons.forEach(btn => btn.classList.remove('active')); // Alle Buttons deaktivieren
document.querySelectorAll('.topic-buttons button').forEach(b => b.classList.remove('active'));
items.forEach(item => item.style.display = 'block'); // Alle AP-Karten einblenden
topicDetails.forEach(detail => detail.style.display = 'block'); document.querySelectorAll('.tab').forEach(card => card.style.display = 'block');
} }
</script> </script>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment