diff options
| author | adamhrv <adam@ahprojects.com> | 2019-01-21 11:03:39 +0100 |
|---|---|---|
| committer | adamhrv <adam@ahprojects.com> | 2019-01-21 11:03:39 +0100 |
| commit | dc56b3326d7776e626039eb144e29562e9fdf355 (patch) | |
| tree | 2edbddd0885cfdb59e202bde43bc1b7c692ae4ed /client/index.js | |
| parent | e06af50389f849be0bfe4fa97d39f4519ef2c711 (diff) | |
| parent | 3ea3d6991f50c9cd94d8a9b4130c3194bd50e160 (diff) | |
Merge branch 'master' of github.com:adamhrv/megapixels_dev
Diffstat (limited to 'client/index.js')
| -rw-r--r-- | client/index.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/client/index.js b/client/index.js index 96f2c8c8..c9335f14 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': @@ -36,7 +36,7 @@ function appendApplets(applets) { appendTable(el, payload) break case 'map': - el.parentNode.classList.add('fullwidth') + el.parentNode.classList.add('wide') appendMap(el, payload) el.classList.add('loaded') break |
