Supporter page: Scroll to type selection after window ready.
This commit is contained in:
		
							parent
							
								
									9d30d7431a
								
							
						
					
					
						commit
						fa6a61ed9b
					
				
					 1 changed files with 3 additions and 1 deletions
				
			
		|  | @ -234,7 +234,9 @@ $(document).ready(function() { | ||||||
|     if ($selectorLink.length === 0) { |     if ($selectorLink.length === 0) { | ||||||
|         supportTypeSelector("#annual").click(); |         supportTypeSelector("#annual").click(); | ||||||
|     } else { |     } else { | ||||||
|         $window.scrollTop($selectorLink.offset().top); |         $window.bind("ready", function() { | ||||||
|  |             scrollTop($selectorLink.offset().top); | ||||||
|  |         }); | ||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
|     $( ".footnote-mark" ).tooltip({ |     $( ".footnote-mark" ).tooltip({ | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		
		Reference in a new issue
	
	 Brett Smith
						Brett Smith