Update jot-header.tpl

This commit is contained in:
Ray 2023-02-24 12:43:50 -05:00
parent dcc347d3ea
commit e8b2294abb

View file

@ -792,8 +792,8 @@ let postSaveTimer = null;
for(let i=1; i<results.length; i++) {
if ((results[i].is_dir === "1") && (results[(i-1)].is_dir === "1")) {
alert((results[i].is_dir === "1") && (results[(i-1)].is_dir === "1"));
if ((results[i].is_dir === "1") & (results[(i-1)].is_dir === "1")) {
alert((results[i].is_dir === "1") & (results[(i-1)].is_dir === "1"));
// is_dir preceded by another is_dir = add opening <ul> to the beginning of the button
content += `<ul class="collapse" id="#embedDir-${i}">
<button class="btn btn-primary" type="button" data-bs-toggle="collapse" data-bs-target="#embedDir-${i}" aria-expanded="false" aria-controls="#embedDir-${i}">