js: Bugfix handling the "no window.location.hash" case.
This commit is contained in:
		
							parent
							
								
									e397501bfa
								
							
						
					
					
						commit
						8ca60f8b07
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -111,7 +111,7 @@ $(document).ready(function() { | |||
|         supportTypeSelector("#annual").click(); | ||||
|     } | ||||
| 
 | ||||
|     var want_id = window.location.hash.substr(1); | ||||
|     var want_id = window.location.hash.substr(1) || "do not match any id"; | ||||
|     $('a.read-more').each(function(index, readmore) { | ||||
|         var $readmore = $(readmore) | ||||
|         var $content = $(readmore.hash); | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue
	
	 Brett Smith
						Brett Smith