feteducourt-static/static/events/js/main.js
Auto pull bot a0aabd3cd5 init
2023-09-13 10:08:05 +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'
}
}