remotes/1693045480750635534/spooky-22
kek7198 2022-01-04 22:44:25 -06:00
parent 8715a0f5d8
commit 333f399f82
1 changed files with 2 additions and 2 deletions

View File

@ -172,7 +172,7 @@
{% endif %}
{% endif %}
<form class="d-none profile-toggleable" id="message" onsubmit="post_toast_callback('/@{{u.username}}/message2',document.getElementById('input-message').value,console.log('message sent')); return false;">
<form class="d-none profile-toggleable" id="message" action="/@{{u.username}}/message2" onsubmit="submitFormAjax(e)">
<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>
@ -696,7 +696,7 @@
<div id="username" class="d-none">{{u.username}}</div>
{% endif %}
<script src="/static/assets/js/userpage.js?a=3"></script>
<script src="/static/assets/js/userpage.js?a=4"></script>
{% endblock %}