From 6a59583ff2f13791e3d7e8a69b62dc4bc424c9eb Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Thu, 17 Jan 2019 16:41:45 +0100 Subject: ugh --- client/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'client/index.js') diff --git a/client/index.js b/client/index.js index 96f2c8c8..2c003888 100644 --- a/client/index.js +++ b/client/index.js @@ -28,7 +28,7 @@ function fetchDataset(payload) { function appendApplets(applets) { applets.forEach(([el, payload]) => { - el.classList.add(payload.cmd) + el.parentNode.classList.add(payload.cmd) switch (payload.cmd) { case 'citations': case 'load_file': -- cgit v1.2.3-70-g09d2