Improve spoiler
This commit is contained in:
parent
3c6108298c
commit
627cf37996
7 changed files with 27 additions and 55 deletions
|
@ -190,7 +190,7 @@ let META_HEADER = [
|
|||
}
|
||||
|
||||
function check_new_message(message, tmp_id, room) {
|
||||
if (room == "{{room}}") {
|
||||
if (room == room_id) {
|
||||
$.get({
|
||||
url: "{{ url('chat_message_ajax') }}",
|
||||
data: {
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
</a>
|
||||
{% endif %}
|
||||
<div class="message-text message-text-other">
|
||||
{{message.body | markdown('comment', MATH_ENGINE)|reference|str|safe }}
|
||||
{{message.body | markdown('comment', MATH_ENGINE, hard_wrap=True)|reference|str|safe }}
|
||||
</div>
|
||||
</div>
|
||||
</span>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue