0
0
mirror of https://github.com/go-gitea/gitea.git synced 2026-01-29 05:56:21 +01:00

update comment

This commit is contained in:
silverwind 2025-12-17 20:26:57 +01:00
parent 8fcfbb752a
commit 439bf5a21a
No known key found for this signature in database
GPG Key ID: 2E62B41C93869443

View File

@ -52,7 +52,7 @@ function isMonospaceEnabled() {
return localStorage?.getItem('markdown-editor-monospace') === 'true';
}
/** Apply font variant to the provided or all textareas on the page */
/** Apply font to the provided or all textareas on the page */
function applyFont(monospaceEnabled: boolean, textarea?: HTMLTextAreaElement) {
for (const el of textarea ? [textarea] : document.querySelectorAll('.markdown-text-editor')) {
el.classList.toggle('tw-font-mono', monospaceEnabled);