From 97a8d8e833487e1c77d060791224e2f6aae2ad52 Mon Sep 17 00:00:00 2001 From: Til Schmitter Date: Sat, 11 Apr 2026 13:33:46 +0200 Subject: [PATCH] swap home path representation for md editor --- copyparty/web/md.js | 2 +- copyparty/web/mde.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/copyparty/web/md.js b/copyparty/web/md.js index 9ecfca4b..7bde61b2 100644 --- a/copyparty/web/md.js +++ b/copyparty/web/md.js @@ -41,7 +41,7 @@ var dbg = function () { }; link += parts[a] + (a < aa ? '/' : ''); o = mknod('a'); o.setAttribute('href', link); - o.textContent = uricom_dec(parts[a].split('?')[0]) || 'top'; + o.textContent = uricom_dec(parts[a].split('?')[0]) || '🏠'; dom_nav.appendChild(o); } })(); diff --git a/copyparty/web/mde.js b/copyparty/web/mde.js index e44c9803..840aa036 100644 --- a/copyparty/web/mde.js +++ b/copyparty/web/mde.js @@ -9,7 +9,7 @@ var dom_md = ebi('mt'); (function () { var n = location + ''; n = (n.slice(n.indexOf('//') + 2).split('?')[0] + '?v').split('/'); - n[0] = 'top'; + n[0] = '🏠'; var loc = []; var nav = []; for (var a = 0; a < n.length; a++) {