mirror of
				https://github.com/9001/copyparty.git
				synced 2025-11-04 13:53:18 +00:00 
			
		
		
		
	textviewer initiable through hotkeys
This commit is contained in:
		@@ -2933,7 +2933,7 @@ function tree_scrolltoo(q) {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
function tree_neigh(n) {
 | 
					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) {
 | 
						if (!links.length) {
 | 
				
			||||||
		treectl.dir_cb = function () {
 | 
							treectl.dir_cb = function () {
 | 
				
			||||||
			tree_neigh(n);
 | 
								tree_neigh(n);
 | 
				
			||||||
@@ -2948,7 +2948,7 @@ function tree_neigh(n) {
 | 
				
			|||||||
			break;
 | 
								break;
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
	if (act == -1)
 | 
						if (act == -1 && !treectl.texts)
 | 
				
			||||||
		return;
 | 
							return;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	act += n;
 | 
						act += n;
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user