in titlepath, only last pid and maybe ...

master
Bel LaPointe 2022-02-11 11:08:22 -07:00
parent 7118645f04
commit 56325bc40e
1 changed files with 4 additions and 1 deletions

View File

@ -249,7 +249,10 @@
var titlePath = "/" var titlePath = "/"
for (var i = 0; i < pids.length; i++) { for (var i = 0; i < pids.length; i++) {
const fullPid = pids.slice(0, i+1) const fullPid = pids.slice(0, i+1)
titlePath += ` <input type="button" class="lil_btn" value="${idsToTitle(fullPid)}" onclick="drawFile('${fullPid.join("/")}');"/> /` titlePath = `/ <input type="button" class="lil_btn" value="${idsToTitle(fullPid)}" onclick="drawFile('${fullPid.join("/")}');"/> /`
}
if (pids.length > 1) {
titlePath = "/ ... "+titlePath
} }
enableMDE() enableMDE()