Use Chartkick with defer option
This commit is contained in:
parent
54916e5a4c
commit
3645c56416
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…
Reference in a new issue