update comment

This commit is contained in:
silverwind committed 2025-12-17 20:26:57 +01:00
1 parent 8fcfbb752a
commit 439bf5a21a
1 file changed
+1 -1
@@ -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);