mirror of
				https://github.com/go-gitea/gitea.git
				synced 2025-10-26 12:27:06 +00:00 
			
		
		
		
	Make tasklist checkboxes clickable (#15791)
Co-authored-by: silverwind <me@silverwind.io> Co-authored-by: Lauris BH <lauris@nix.lv>
This commit is contained in:
		| @@ -1,5 +1,12 @@ | ||||
| import {renderMermaid} from './mermaid.js'; | ||||
| import {initMarkupTasklist} from './tasklist.js'; | ||||
|  | ||||
| export async function renderMarkupContent() { | ||||
| // code that runs for all markup content | ||||
| export async function initMarkupContent() { | ||||
|   await renderMermaid(document.querySelectorAll('code.language-mermaid')); | ||||
| } | ||||
|  | ||||
| // code that only runs for comments | ||||
| export function initCommentContent() { | ||||
|   initMarkupTasklist(); | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 KN4CK3R
					KN4CK3R