Update jot-header.tpl

This commit is contained in:
Ray 2023-02-24 12:34:19 -05:00
parent 0fdb7af226
commit 15d352017a

View file

@ -800,8 +800,9 @@ if ((results[i].is_dir === "1") && (results[(i-1)].is_dir === "1")) {
${results[i].filename}
</button>`;
}
return false;
}
} // end new loop
/*
else if ((results[i].is_dir === '1') && (results[(i-1)].is_dir !== '1')) {
// is_dir preceded by a file = add closing </ul> to the beginning of the button
content += `</ul><button class="btn btn-primary" type="button" data-bs-toggle="collapse" data-bs-target="#embedDir-${i}" aria-expanded="false" aria-controls="#embedDir-${i}">