frio: better handling of event location in event hover cards
This commit is contained in:
		
					parent
					
						
							
								967c3b3deb
							
						
					
				
			
			
				commit
				
					
						b317f811e7
					
				
			
		
					 2 changed files with 13 additions and 18 deletions
				
			
		|  | @ -570,3 +570,13 @@ function scrollToItem(itemID) { | |||
| 		$(elm).animate(colWhite, 1000).animate(colShiny).animate(colWhite, 600); | ||||
| 	}); | ||||
| } | ||||
| 
 | ||||
| // format a html string to pure text
 | ||||
| function htmlToText(htmlString) { | ||||
| 	// Replace line breaks with spaces
 | ||||
| 	var text = htmlString.replace(/<br>/g, ' '); | ||||
| 	// Strip the text out of the html string
 | ||||
| 	text = text.replace(/<[^>]*>/g, ''); | ||||
| 
 | ||||
| 	return text; | ||||
| } | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 rabuzarus
				rabuzarus