mirror of
https://codeberg.org/streams/streams.git
synced 2024-09-20 06:35:15 +00:00
Update jot-header.tpl
This commit is contained in:
parent
dcc347d3ea
commit
e8b2294abb
1 changed files with 2 additions and 2 deletions
|
@ -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}">
|
||||
|
|
Loading…
Reference in a new issue