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
}
function resetTopic() {
const items = document.querySelectorAll('[data-topic]');
const topicDetails = document.querySelectorAll('.topic-details');
const buttons = document.querySelectorAll('.topic-buttons button');
// Obere Beschreibungen ausblenden
document.querySelectorAll('.topic-details').forEach(el => el.style.display = 'none');
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');
topicDetails.forEach(detail => detail.style.display = 'block');
// Alle AP-Karten einblenden
document.querySelectorAll('.tab').forEach(card => card.style.display = 'block');
}
</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