[BUGFIX] Toggle statistic sections
This commit is contained in:
parent
6e9d30445b
commit
62c9c1c830
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user