tomlplusplus/docs/tomlplusplus.js
Mark Gillard ab5ffa5a3c moved date and time stuff to separate header
also:
- merged all the separate integer parsing functions
- renamed the member functions of parse_error for clarity
- added the beginnings of a doxygen pipeline
2020-01-11 23:15:24 +02:00

19 lines
403 B
JavaScript

function ToggleEnableIf(anchor)
{
if (!anchor.hasOwnProperty('enableIfHidden'))
anchor['enableIfHidden'] = true;
anchor.enableIfHidden = !anchor.enableIfHidden;
content = anchor.parentNode.getElementsByTagName('span')[0]
if (anchor.enableIfHidden)
{
anchor.style.display = "";
content.style.display = "";
}
else
{
anchor.style.display = "none";
content.style.display = "block";
}
}