source: josm/trunk/tools/japicc/modules/Internals/Js/Sections.js

Last change on this file was 11682, checked in by Don-vip, 8 years ago

update to japi-compliance-checker 2.1

File size: 440 bytes
Line 
1function sC(header, id)
2{
3 e = document.getElementById(id);
4 if(e.style.display == 'none')
5 {
6 e.style.display = 'block';
7 e.style.visibility = 'visible';
8 header.innerHTML = header.innerHTML.replace(/\[[^0-9 ]\]/gi, "[−]");
9 }
10 else
11 {
12 e.style.display = 'none';
13 e.style.visibility = 'hidden';
14 header.innerHTML = header.innerHTML.replace(/\[[^0-9 ]\]/gi, "[+]");
15 }
16}
Note: See TracBrowser for help on using the repository browser.