Hotfix: chybějící mezery za korekturami
This commit is contained in:
		
							parent
							
								
									6eb4633af0
								
							
						
					
					
						commit
						7237364ba5
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -31,7 +31,7 @@ function place_comments_one_div(img_id, comments) | ||||||
| 		htmlElement.style.left = w + W_SKIP; | 		htmlElement.style.left = w + W_SKIP; | ||||||
| 		htmlElement.style.top = y + delta_y; | 		htmlElement.style.top = y + delta_y; | ||||||
| 
 | 
 | ||||||
| 		bott_max = Math.max(bott_max, htmlElement.offsetTop + htmlElement.offsetHeight); | 		bott_max = Math.max(bott_max, htmlElement.offsetTop + htmlElement.offsetHeight + H_SKIP); // FIXME nemám páru, proč +H_SKIP funguje, ale opravuje to bug, že nově vytvořené korektury za sebou neměly mezeru
 | ||||||
| 	} | 	} | ||||||
| 
 | 
 | ||||||
| 	if (par.offsetHeight < bott_max) par.style.height = bott_max; | 	if (par.offsetHeight < bott_max) par.style.height = bott_max; | ||||||
|  |  | ||||||
		Loading…
	
		Reference in a new issue