Fix tbody offsetTop should be offsetHeight.
[minor]
This commit is contained in:
		
							parent
							
								
									03e8934c8d
								
							
						
					
					
						commit
						8079486067
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -366,7 +366,7 @@ function render_pages() | |||
|     { | ||||
|         // I usually pick this threshold by experimentation but you can probably | ||||
|         // do something more rigorously correct. | ||||
|         if (tbody.offsetTop + tbody.offsetParent.offsetTop > 900) | ||||
|         if (tbody.offsetHeight + tbody.offsetParent.offsetTop > 900) | ||||
|         { | ||||
|             page = new_page(); | ||||
|             tbody = page.query("table tbody"); | ||||
|  |  | |||
		Loading…
	
		Reference in a new issue