mirror of
https://github.com/9001/copyparty.git
synced 2025-08-18 01:22:13 -06:00
textviewer initiable through hotkeys
This commit is contained in:
parent
5352f7cda7
commit
a4dd44f648
|
@ -2933,7 +2933,7 @@ function tree_scrolltoo(q) {
|
|||
|
||||
|
||||
function tree_neigh(n) {
|
||||
var links = QSA(showfile.active() ? '#docul li>a' : '#treeul li>a+a');
|
||||
var links = QSA(showfile.active() || treectl.texts ? '#docul li>a' : '#treeul li>a+a');
|
||||
if (!links.length) {
|
||||
treectl.dir_cb = function () {
|
||||
tree_neigh(n);
|
||||
|
@ -2948,7 +2948,7 @@ function tree_neigh(n) {
|
|||
break;
|
||||
}
|
||||
}
|
||||
if (act == -1)
|
||||
if (act == -1 && !treectl.texts)
|
||||
return;
|
||||
|
||||
act += n;
|
||||
|
|
Loading…
Reference in a new issue