Move chat template out of compress

This commit is contained in:
cuom1999 2023-08-28 14:35:44 -05:00
parent 2854ac97e9
commit 9f0213865d
2 changed files with 5 additions and 5 deletions

View file

@ -42,6 +42,11 @@
return receiver; return receiver;
} }
let message_template = `
{% with message=message_template %}
{% include "chat/message.html" %}
{% endwith %}
`;
$(function() { $(function() {
load_dynamic_update({{last_msg}}); load_dynamic_update({{last_msg}});
}); });

View file

@ -1,9 +1,4 @@
<script type="text/javascript"> <script type="text/javascript">
let message_template = `
{% with message=message_template %}
{% include "chat/message.html" %}
{% endwith %}
`;
let META_HEADER = [ let META_HEADER = [
"{{_('Recent')}}", "{{_('Recent')}}",
"{{_('Following')}}", "{{_('Following')}}",