[BUGFIX] Toggle statistic sections

This commit is contained in:
Geno 2017-05-10 13:46:41 +02:00 committed by Xaver Maierhofer
parent 6e9d30445b
commit 62c9c1c830
No known key found for this signature in database
GPG Key ID: 7FDCE23FD2EC9FE8

View File

@ -167,7 +167,7 @@ define(['d3-interpolate', 'snabbdom', 'filters/genericnode', 'helper'],
h2.classList.add('proportion-header'); h2.classList.add('proportion-header');
h2.textContent = _.t(heading); h2.textContent = _.t(heading);
h2.onclick = function onclick() { h2.onclick = function onclick() {
table.classList.toggle('hide'); table.elm.classList.toggle('hide');
}; };
el.appendChild(h2); el.appendChild(h2);
el.appendChild(table.elm); el.appendChild(table.elm);