Fix linking of remote hashtags in UI, add public view of hashtags
This commit is contained in:
		
							parent
							
								
									48b9619439
								
							
						
					
					
						commit
						a698b767c1
					
				
					 3 changed files with 12 additions and 1 deletions
				
			
		|  | @ -23,7 +23,7 @@ const StatusContent = React.createClass({ | |||
| 
 | ||||
|       if (mention) { | ||||
|         link.addEventListener('click', this.onMentionClick.bind(this, mention), false); | ||||
|       } else if (link.text[0] === '#' || (link.previousSibling && link.previousSibling.text === '#')) { | ||||
|       } else if (link.text[0] === '#' || (link.previousSibling && link.previousSibling.text[link.previousSibling.text.length - 1] === '#')) { | ||||
|         link.addEventListener('click', this.onHashtagClick.bind(this, link.text), false); | ||||
|       } else { | ||||
|         link.setAttribute('target', '_blank'); | ||||
|  |  | |||
		Reference in a new issue