feteducourt-static/public/static/events/js/main.js
Adrian Amaglio b1142461b9 moved
2023-10-09 10:31:26 +02:00

13 lines
359 B
JavaScript

function show_more(id) {
el = document.getElementById('more_'+id)
bu = document.getElementById('show_more_'+id)
if (el.style.display == 'none' || el.style.display == '') {
el.style.display = 'block'
bu.textContent = 'Cacher les détails'
} else {
el.style.display = 'none'
bu.textContent = 'Voir plus'
}
}