Merge pull request #2328 from tchak/fix-chartkick
Use Chartkick with defer option
This commit is contained in:
commit
fa9659a00b
1 changed files with 1 additions and 0 deletions
|
@ -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)"]
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue