master
kek7198 2022-01-04 22:22:41 -06:00
parent 4db5553d6b
commit fa7325dc4b
1 changed files with 1 additions and 1 deletions

View File

@ -172,7 +172,7 @@
{% endif %}
{% endif %}
<form class="d-none profile-toggleable" id="message" onsubmit="post_toast('/@{{u.username}}/message2', false, this">
<form class="d-none profile-toggleable" id="message" onsubmit="post_toast('/@{{u.username}}/message2', false, this.elements">
<input autocomplete="off" type="hidden" name="formkey" value="{{v.formkey}}">
<pre></pre>
<textarea autocomplete="off" id="input-message" form="message" name="message" rows="3" maxlength="1000" class="form-control b2" oninput="markdown('input-message', 'message-preview')" required></textarea>