X-Git-Url: https://git.p6c8.net/jirafeau.git/blobdiff_plain/ba6f06965a4d9846e23d99a0e9f74b1361c18c40..17e768a21c3d6877746fca24440600a9fea4da89:/jirafeau.js?ds=sidebyside 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'; + } }