From 62c9c1c830875f4ce84abe79d7b8ca1abfc910dc Mon Sep 17 00:00:00 2001 From: Geno Date: Wed, 10 May 2017 13:46:41 +0200 Subject: [PATCH] [BUGFIX] Toggle statistic sections --- lib/proportions.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/proportions.js b/lib/proportions.js index 84d8cd9..83cdb21 100644 --- a/lib/proportions.js +++ b/lib/proportions.js @@ -167,7 +167,7 @@ define(['d3-interpolate', 'snabbdom', 'filters/genericnode', 'helper'], h2.classList.add('proportion-header'); h2.textContent = _.t(heading); h2.onclick = function onclick() { - table.classList.toggle('hide'); + table.elm.classList.toggle('hide'); }; el.appendChild(h2); el.appendChild(table.elm);