Skip to content

Commit

Permalink
Check statistic only in a statistic page
Browse files Browse the repository at this point in the history
  • Loading branch information
ggpasqualino committed Aug 9, 2017
1 parent 9f82b22 commit 3c2bb3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/static/js/group_channel.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 = []

Expand Down

0 comments on commit 3c2bb3c

Please sign in to comment.