Browse Source

this fixes #3

pull/2/head
gorhill 10 years ago
parent
commit
56a9e8a460
  1. 8
      src/js/messaging-handlers.js

8
src/js/messaging-handlers.js

@ -170,11 +170,9 @@ var matrixSnapshot = function(details) {
row.counts[typeIndex] += 1; row.counts[typeIndex] += 1;
row.counts[anyIndex] += 1; row.counts[anyIndex] += 1;
if ( reqDomain !== reqHostname ) {
row = r.rows[reqDomain];
row.totals[typeIndex] += 1;
row.totals[anyIndex] += 1;
}
row = r.rows[reqDomain];
row.totals[typeIndex] += 1;
row.totals[anyIndex] += 1;
row = r.rows['*']; row = r.rows['*'];
row.totals[typeIndex] += 1; row.totals[typeIndex] += 1;

Loading…
Cancel
Save