X-Git-Url: https://git.p6c8.net/jirafeau_mojo42.git/blobdiff_plain/ba6f06965a4d9846e23d99a0e9f74b1361c18c40..6924499c6530c40b3eb78c3f257ee895a5b10be2:/jirafeau.js diff --git a/jirafeau.js b/jirafeau.js index 658e9f9..8cfcc45 100644 --- a/jirafeau.js +++ b/jirafeau.js @@ -16,10 +16,15 @@ * along with this program. If not, see . */ -function jirafeau_toggle(id) { - if(document.getElementById(id).style.display == 'block') { - document.getElementById(id).style.display = 'none'; - } else { - document.getElementById(id).style.display = 'block'; - } +function +jirafeau_toggle (id) +{ + if (document.getElementById (id).style.display == 'block') + { + document.getElementById (id).style.display = 'none'; + } + else + { + document.getElementById (id).style.display = 'block'; + } }