forked from rDrama/rDrama
1
0
Fork 0
master
Aevann1 2022-03-22 16:33:05 +02:00
parent 85cf7cc2a6
commit 4b3fcb18f2
1 changed files with 7 additions and 8 deletions

View File

@ -49,9 +49,7 @@
<div style="overflow:hidden"> <div style="overflow:hidden">
{% set text=m['text'] %} {% set text=m['text'] %}
<span class="chat-message text-black text-break">{{m['text_html'] | safe}} <span class="chat-message text-black text-break">{{m['text_html'] | safe}}
<button onclick="quote('{{text}}')"> <i onclick="quote('{{text}}')" class="fas fa-reply" aria-hidden="true"></i>
<i class="fas fa-reply" aria-hidden="true"></i>
</button>
</span> </span>
</div> </div>
</div> </div>
@ -190,6 +188,7 @@
} }
function quote(text) { function quote(text) {
textbox.style.height = '76px'
textbox.value = text + '\n' textbox.value = text + '\n'
textbox.focus() textbox.focus()
} }