Use Chartkick with defer option

This commit is contained in:
Paul Chavard 2018-08-01 16:50:58 +02:00 committed by Pierre de La Morinerie
parent 54916e5a4c
commit 3645c56416

View file

@ -1,4 +1,5 @@
Chartkick.options = { Chartkick.options = {
content_for: :charts_js, content_for: :charts_js,
defer: true,
colors: ["rgba(61, 149, 236, 1)"] colors: ["rgba(61, 149, 236, 1)"]
} }