mirror of
https://github.com/9001/copyparty.git
synced 2026-06-19 04:32:26 -06:00
swap home path representation for md editor
This commit is contained in:
parent
3070f2e373
commit
97a8d8e833
|
|
@ -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);
|
||||
}
|
||||
})();
|
||||
|
|
|
|||
|
|
@ -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++) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue