fix scroll after logtail (thx @Bevinsky)

if file was closed without using the [X] button, for example
with the browser back button, the tail would not abort
This commit is contained in:
ed 2025-07-27 21:17:44 +00:00
parent b0dec83aad
commit d197e754b9

View file

@ -8269,6 +8269,7 @@ var treectl = (function () {
}; };
r.gentab = function (top, res) { r.gentab = function (top, res) {
showfile.untail();
var nodes = res.dirs.concat(res.files), var nodes = res.dirs.concat(res.files),
html = mk_files_header(res.taglist), html = mk_files_header(res.taglist),
sel = msel.hist[top], sel = msel.hist[top],