simplify emojification on public pages with .emojify class
This commit is contained in:
		
					parent
					
						
							
								131bae89fd
							
						
					
				
			
			
				commit
				
					
						917cf0bf5d
					
				
			
		
					 8 changed files with 13 additions and 13 deletions
				
			
		|  | @ -1,7 +1,7 @@ | |||
| import emojify from './components/emoji' | ||||
| 
 | ||||
| $(() => { | ||||
|   $.each($('.entry .content, .entry .status__content, .status__display-name, .display-name, .name, .account__header__content'), (_, content) => { | ||||
|   $.each($('.emojify'), (_, content) => { | ||||
|     const $content = $(content); | ||||
|     $content.html(emojify($content.html())); | ||||
|   }); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue