diff --git a/copyparty/web/browser.js b/copyparty/web/browser.js index 9a85ebc0..560ce593 100644 --- a/copyparty/web/browser.js +++ b/copyparty/web/browser.js @@ -2472,6 +2472,7 @@ var showfile = (function () { wr.style.display = ''; set_tabindex(); + wintitle(name + ' \u2014 '); document.documentElement.scrollTop = 0; var hfun = no_push ? hist_replace : hist_push; hfun(get_evpath() + '?doc=' + url.split('/').pop()); @@ -2613,6 +2614,7 @@ var thegrid = (function () { return; hist_push(get_evpath()); + wintitle(); } var vis = has(perms, "read");