mirror of
https://github.com/9001/copyparty.git
synced 2025-08-18 09:22:31 -06:00
show textfile name in document title
This commit is contained in:
parent
954c7e7e50
commit
515ac5d941
|
@ -2472,6 +2472,7 @@ var showfile = (function () {
|
||||||
wr.style.display = '';
|
wr.style.display = '';
|
||||||
set_tabindex();
|
set_tabindex();
|
||||||
|
|
||||||
|
wintitle(name + ' \u2014 ');
|
||||||
document.documentElement.scrollTop = 0;
|
document.documentElement.scrollTop = 0;
|
||||||
var hfun = no_push ? hist_replace : hist_push;
|
var hfun = no_push ? hist_replace : hist_push;
|
||||||
hfun(get_evpath() + '?doc=' + url.split('/').pop());
|
hfun(get_evpath() + '?doc=' + url.split('/').pop());
|
||||||
|
@ -2613,6 +2614,7 @@ var thegrid = (function () {
|
||||||
return;
|
return;
|
||||||
|
|
||||||
hist_push(get_evpath());
|
hist_push(get_evpath());
|
||||||
|
wintitle();
|
||||||
}
|
}
|
||||||
|
|
||||||
var vis = has(perms, "read");
|
var vis = has(perms, "read");
|
||||||
|
|
Loading…
Reference in a new issue