Update create.j2

Updated textarea onkeyup handler to pass katex={{ request.katex }} instead of mathjax={{ request.mathjax }} in thread creation form.
This commit is contained in:
Groupr 2025-11-11 04:15:47 +00:00
parent 864632b779
commit c7d1646824

View file

@ -11,7 +11,7 @@
name = "thread_data"
id = "thread_data_textarea"
class = "common-textarea"
onkeyup = "previewAjax( 'thread_data_textarea', 'preview', show_raw=true, mathjax={{ request.mathjax }} )"
onkeyup = "previewAjax( 'thread_data_textarea', 'preview', show_raw=true, katex={{ request.katex }} )"
placeholder = "What do you want to say? markdown"
required></textarea>