Oops, fix broken click-to-join because of the qualname change.
This commit is contained in:
		
							parent
							
								
									fba75c0325
								
							
						
					
					
						commit
						b90971813f
					
				
					 1 changed files with 4 additions and 1 deletions
				
			
		|  | @ -529,9 +529,12 @@ function tags_on_this_page_hook() | ||||||
|     This is hooked onto the tag objects listed under "Found on this page". |     This is hooked onto the tag objects listed under "Found on this page". | ||||||
|     Clicking them will add it to your current search query under Musts |     Clicking them will add it to your current search query under Musts | ||||||
|     */ |     */ | ||||||
|  |     var tagname = this.innerHTML.split(/\./); | ||||||
|  |     tagname = tagname[tagname.length-1]; | ||||||
|  |     var qualname = QUALNAME_MAP[tagname]; | ||||||
|     add_searchtag( |     add_searchtag( | ||||||
|         input_musts, |         input_musts, | ||||||
|         QUALNAME_MAP[this.innerHTML], |         qualname, | ||||||
|         inputted_musts, |         inputted_musts, | ||||||
|         "search_builder_musts_inputted" |         "search_builder_musts_inputted" | ||||||
|     ); |     ); | ||||||
|  |  | ||||||
		Loading…
	
		Reference in a new issue