Move chat template out of compress
This commit is contained in:
parent
2854ac97e9
commit
9f0213865d
2 changed files with 5 additions and 5 deletions
|
@ -42,6 +42,11 @@
|
|||
|
||||
return receiver;
|
||||
}
|
||||
let message_template = `
|
||||
{% with message=message_template %}
|
||||
{% include "chat/message.html" %}
|
||||
{% endwith %}
|
||||
`;
|
||||
$(function() {
|
||||
load_dynamic_update({{last_msg}});
|
||||
});
|
||||
|
|
|
@ -1,9 +1,4 @@
|
|||
<script type="text/javascript">
|
||||
let message_template = `
|
||||
{% with message=message_template %}
|
||||
{% include "chat/message.html" %}
|
||||
{% endwith %}
|
||||
`;
|
||||
let META_HEADER = [
|
||||
"{{_('Recent')}}",
|
||||
"{{_('Following')}}",
|
||||
|
|
Loading…
Reference in a new issue