in titlepath, only last pid and maybe ...
This commit is contained in:
@@ -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()
|
||||||
|
|||||||
Reference in New Issue
Block a user