Merge pull request #2328 from tchak/fix-chartkick

Use Chartkick with defer option
This commit is contained in:
Pierre de La Morinerie 2018-08-01 17:04:06 +02:00 committed by GitHub
commit fa9659a00b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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