summaryrefslogtreecommitdiff
path: root/client/index.js
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2019-04-01 10:23:29 +0200
committerJules Laplace <julescarbon@gmail.com>2019-04-01 10:23:29 +0200
commit0bede27de3bcc0c7f03d16c7607a0ae693daebc7 (patch)
tree20646e82e6b608e452408ad1af24f70fa079387e /client/index.js
parentfd5d46b71af450fb582506dc8dd9c8d343d3a5c5 (diff)
citations table in react
Diffstat (limited to 'client/index.js')
-rw-r--r--client/index.js4
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')