fix highlighting issue - as expected, ecnt was wrong

This commit is contained in:
2025-09-27 17:36:31 +10:00
parent b67f2d9dcb
commit 5f8c48ac18

View File

@@ -505,13 +505,14 @@ function drawPageOfFigures()
}
// back button, if gray/back decide if we see grayed out folder and/or the name of the folder we go back to
html=`<div class="col col-auto g-0 m-1">
<figure id="${document.back_id}" class="${cl} entry m-1" type="Directory">
<figure id="${document.back_id}" ecnt="0" class="${cl} entry m-1" type="Directory">
<svg class="svg" width="${OPT.size-22}" height="${OPT.size-22}">
<use xlink:href="internal/icons.svg#folder_back${gray}"/>
</svg>
<figcaption class="figure-caption text-center">${back}</figcaption>
</figure>
</div>`
ecnt++
/*
<script>f=$('#_back'); w=f.find('svg').width(); f.find('figcaption').width(w);</script>
*/