in titlepath, only last pid and maybe ...
parent
7118645f04
commit
56325bc40e
|
|
@ -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()
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue