mirror of
				https://github.com/flynx/PortableMag.git
				synced 2025-10-31 12:00:11 +00:00 
			
		
		
		
	minor #URL related changes...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
		
							parent
							
								
									82d24fd8f0
								
							
						
					
					
						commit
						fb812d6e95
					
				| @ -729,9 +729,9 @@ function saveURLState(){ | ||||
| 
 | ||||
| 	// clear the url if it does not match the current page...
 | ||||
| 	} else { | ||||
| 		// XXX need to do this AFTER the page is changed, and not befor...
 | ||||
| 		if(n != parseInt(anchor)  | ||||
| 				// do not remove linked pages...
 | ||||
| 				// XXX this does not work when navigating from a different page...
 | ||||
| 				|| (elem.hasClass('page') && n != getPageNumber(elem)) | ||||
| 				|| n != getPageNumber(elem).parents('.page')){ | ||||
| 			window.location.hash = '' | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user