mirror of
				https://codeberg.org/ashley/poke
				synced 2025-07-17 16:52:11 +00:00 
			
		
		
		
	add a fix for searches
This commit is contained in:
		
							parent
							
								
									f0d7e9d3c7
								
							
						
					
					
						commit
						edfa7935df
					
				| @ -91,9 +91,11 @@ module.exports = function (app, config, renderTemplate) { | ||||
| 
 | ||||
|       h = " "; | ||||
| 
 | ||||
|       if (j.Search.Results.DynamicItem) { | ||||
|         if (j.Search.Results.DynamicItem.id == "didYouMeanRenderer") { | ||||
|           var h = JSON.parse(j.Search.Results.DynamicItem.Title); | ||||
|       if (j.Search) { | ||||
|         if ("Results.DynamicItem" in j.Search) { | ||||
|           if (j.Search.Results.DynamicItem.id == "didYouMeanRenderer") { | ||||
|             var h = JSON.parse(j.Search.Results.DynamicItem.Title); | ||||
|           } | ||||
|         } | ||||
|       } | ||||
| 
 | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Ashley
						Ashley