mirror of
				https://github.com/9001/copyparty.git
				synced 2025-11-03 21:43:12 +00:00 
			
		
		
		
	whoops
This commit is contained in:
		@@ -941,13 +941,10 @@ var treectl = (function () {
 | 
				
			|||||||
		else {
 | 
							else {
 | 
				
			||||||
			var wraph = parseInt(getComputedStyle(ebi('wrap').offsetParent).height),
 | 
								var wraph = parseInt(getComputedStyle(ebi('wrap').offsetParent).height),
 | 
				
			||||||
				top = Math.max(0, parseInt(wrap.offsetTop)),
 | 
									top = Math.max(0, parseInt(wrap.offsetTop)),
 | 
				
			||||||
				treeh = winh - atop;
 | 
									treeh = (winh - atop) - 4;
 | 
				
			||||||
 | 
					 | 
				
			||||||
			if (treeh < 10)
 | 
					 | 
				
			||||||
				return;
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
			tree.style.top = top + 'px';
 | 
								tree.style.top = top + 'px';
 | 
				
			||||||
			tree.style.height = treeh + 'px';
 | 
								tree.style.height = treeh < 10 ? '' : treeh + 'px';
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user