diff options
| author | adamhrv <adam@ahprojects.com> | 2019-04-01 19:50:48 +0200 |
|---|---|---|
| committer | adamhrv <adam@ahprojects.com> | 2019-04-01 19:50:48 +0200 |
| commit | 54a9853e9dce4a2c00208c80e49b6d6497d50886 (patch) | |
| tree | f589646658c17ff6c2870fe008d508daf6b04118 /client/index.js | |
| parent | 79ca5c75243e4d94a7924d1bda8666123f398d9c (diff) | |
| parent | 83858f95425278d44e7f39177e141e7b82c0022c (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 5a7315b5..668aebfb 100644 --- a/client/index.js +++ b/client/index.js @@ -6,7 +6,6 @@ import { Provider } from 'react-redux' import { toArray } from './util' import Applet from './applet' import { store } from './store' -import appendTable from './tables' import appendMap from './map' function appendReactApplet(el, payload) { @@ -33,7 +32,8 @@ function appendApplets(applets) { case 'citations': case 'load_file': el.parentNode.classList.add('wide') - appendTable(el, payload) + appendReactApplet(el, payload) + el.classList.add('loaded') break case 'map': el.parentNode.classList.add('wide') |
