a11y: improve skip-to-files

This commit is contained in:
ed 2022-07-20 23:44:57 +02:00
parent bdd0e5d771
commit c694cbffdc

View file

@ -2464,7 +2464,7 @@ function eval_hash() {
if (a)
QS(treectl.hidden ? '#path a:nth-last-child(2)' : '#treeul a.hl').focus();
else
QS(thegrid.en ? '#ggrid a' : '#files tbody a').focus();
QS(thegrid.en ? '#ggrid a' : '#files tbody tr[tabindex]').focus();
};
})(a);