mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 08:30:25 +08:00 
			
		
		
		
	Make time tooltips interactive (#23526)
Fixes https://codeberg.org/forgejo/forgejo/issues/511 <img width="379" alt="Screenshot 2023-03-16 at 20 23 10" src="https://user-images.githubusercontent.com/115237/225731294-4c6e4f44-bdcc-4c8c-86e2-49f7c03b377d.png">
This commit is contained in:
		@@ -33,6 +33,7 @@ export function initTooltip(el, props = {}) {
 | 
			
		||||
    content,
 | 
			
		||||
    delay: 100,
 | 
			
		||||
    role: 'tooltip',
 | 
			
		||||
    ...(el.getAttribute('data-tooltip-interactive') === 'true' ? {interactive: true} : {}),
 | 
			
		||||
    ...props,
 | 
			
		||||
  });
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user