mirror of
				https://github.com/9001/copyparty.git
				synced 2025-11-04 05:43:17 +00:00 
			
		
		
		
	fix a11y crash; closes #649
This commit is contained in:
		@@ -571,6 +571,7 @@ pre, code, tt, #doc, #doc>code {
 | 
			
		||||
	overflow: hidden;
 | 
			
		||||
	width: 0;
 | 
			
		||||
	height: 0;
 | 
			
		||||
	left: -10em;
 | 
			
		||||
	color: var(--bg);
 | 
			
		||||
}
 | 
			
		||||
html .ayjump:focus {
 | 
			
		||||
 
 | 
			
		||||
@@ -13420,9 +13420,11 @@ function eval_hash() {
 | 
			
		||||
			d.onclick = function (e) {
 | 
			
		||||
				ev(e);
 | 
			
		||||
				if (a)
 | 
			
		||||
					QS(treectl.hidden ? '#path a:nth-last-child(2)' : '#treeul a.hl').focus();
 | 
			
		||||
					d = QS(treectl.hidden ? '#path a:nth-last-child(2)' : '#treeul a.hl');
 | 
			
		||||
				else
 | 
			
		||||
					QS(thegrid.en ? '#ggrid a' : '#files tbody tr[tabindex]').focus();
 | 
			
		||||
					d = QS(thegrid.en ? '#ggrid a' : '#files tbody tr[tabindex]');
 | 
			
		||||
				if (d)
 | 
			
		||||
					d.focus();
 | 
			
		||||
			};
 | 
			
		||||
		})(a);
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user