Update jot-header.tpl

This commit is contained in:
Ray 2023-02-24 12:31:23 -05:00
parent c1ae79df4e
commit 62e0bf5068

View file

@ -793,6 +793,7 @@ let postSaveTimer = null;
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}">