diff --git a/web/static/js/group_channel.js b/web/static/js/group_channel.js index c0c1e66..3d3915b 100644 --- a/web/static/js/group_channel.js +++ b/web/static/js/group_channel.js @@ -85,8 +85,8 @@ function addRow(statsRow) { function initGroupChannel(socket) { let group = window.document.querySelector("meta[name='group']") - let statistic = window.document.querySelector("meta[name='statistic']").content if (group) { + let statistic = window.document.querySelector("meta[name='statistic']").content var total_members = 0 var members = []