X-Git-Url: https://git.p6c8.net/jirafeau_mojo42.git/blobdiff_plain/ba6f06965a4d9846e23d99a0e9f74b1361c18c40..497b4c2739003442e10b34689cee4bca75c78829:/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'; + } }