Skip to content

Commit

Permalink
Move chat template out of compress
Browse files Browse the repository at this point in the history
  • Loading branch information
cuom1999 committed Aug 28, 2023
1 parent 2854ac9 commit 9f02138
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
5 changes: 5 additions & 0 deletions templates/chat/chat.html
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,11 @@

return receiver;
}
let message_template = `
{% with message=message_template %}
{% include "chat/message.html" %}
{% endwith %}
`;
$(function() {
load_dynamic_update({{last_msg}});
});
Expand Down
5 changes: 0 additions & 5 deletions templates/chat/chat_js.html
Original file line number Diff line number Diff line change
@@ -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')}}",
Expand Down

0 comments on commit 9f02138

Please sign in to comment.