Skip to content
This repository was archived by the owner on Feb 4, 2021. It is now read-only.

Commit 12b43b0

Browse files
authored
Update chat.html
1 parent 4dc8936 commit 12b43b0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

capstone/templates/capstone/chat.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
<script>
44
window.users = []
55
{% for thisuser in user_data %}
6-
window.users.push({"{{thisuser.user.username}}": {{thisuser.publickey}} }
7-
{% endif %}
6+
window.users.push({user: "{{thisuser.user.username}}", key: "{{thisuser.publickey}}" })
7+
{% endfor %}
88
</script>
99
<div id="body">
1010
{% if messages %}

0 commit comments

Comments
 (0)