mirror of
https://github.com/caddyserver/website.git
synced 2025-04-20 12:15:08 -04:00
docs: Minor JSON docs bugfix for hiding a header, remove invalid comment (#87)
This commit is contained in:
parent
af3676862b
commit
05fa4bcca1
3 changed files with 5 additions and 6 deletions
|
@ -179,8 +179,8 @@ function beginRendering(json) {
|
|||
renderData(pageData.structure, 0, "", $('<div class="group"/>'));
|
||||
console.log("DOCS:", pageDocs);
|
||||
|
||||
if ($('#field-list-contents').html().trim()) {
|
||||
$('#field-list').show();
|
||||
if ($('#field-list-contents').text().trim()) {
|
||||
$('#field-list-header').show();
|
||||
}
|
||||
|
||||
// if the browser tried to navigate directly to an element
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue