forked from rDrama/rDrama
1
0
Fork 0

scroll chat on sending

master
Aevann1 2022-08-26 21:30:10 +02:00
parent 71828e6528
commit d2c6cf362e
1 changed files with 1 additions and 1 deletions

View File

@ -191,7 +191,7 @@
</div>
<i class="btn btn-secondary mr-2 fas fa-smile-beam" style="padding-top:0.65rem" onclick="loadEmojis('input-text')" aria-hidden="true" data-bs-toggle="modal" data-bs-target="#emojiModal" data-bs-placement="bottom" title="Add Emoji"></i>
<textarea onclick="scroll_chat()" id="input-text" minlength="1" maxlength="{% if SITE == 'rdrama.net' %}200{% else %}1000{% endif %}" style="font-size:16px!important" class="form-control" placeholder="Message" autocomplete="off" autofocus rows="1"></textarea>
<button id="chatsend" onclick="send()" class="btn btn-primary ml-3" type="submit" onclick="disable(this)">Send</button>
<button id="chatsend" onclick="send();scroll_chat()" class="btn btn-primary ml-3" type="submit" onclick="disable(this)">Send</button>
</div>
</div>
</div>