Commit e0cf355f authored by Traboulsi's avatar Traboulsi
Browse files

Update public/index.html

parent 7356348e
Pipeline #11262 passed with stage
in 9 seconds
...@@ -1380,16 +1380,23 @@ Implementations, and Perspectives ...@@ -1380,16 +1380,23 @@ Implementations, and Perspectives
}); });
} }
function resetTopic() { function resetTopic() {
// Obere Beschreibungen ausblenden // Obere Beschreibungstexte ausblenden
document.querySelectorAll('.topic-details').forEach(el => el.style.display = 'none'); document.querySelectorAll('.topic-details').forEach(el => {
el.style.display = 'none';
// Alle Buttons deaktivieren });
document.querySelectorAll('.topic-buttons button').forEach(b => b.classList.remove('active'));
// Alle Buttons deaktivieren
// Alle AP-Karten einblenden document.querySelectorAll('.topic-buttons button').forEach(b => {
document.querySelectorAll('.tab').forEach(card => card.style.display = 'block'); b.classList.remove('active');
});
// Alle AP-Karten einblenden
document.querySelectorAll('[data-topic]').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