lazy_high_charts
lazy_high_charts copied to clipboard
Evaluate script once for Turbolinks5
With Turbolinks 5, if it doesn't add data-turbolinks-eval="false"
to script tag, script is evaluated many times (each per pages loading). So I've fixed it.
Also seems to fix https://github.com/michelson/lazy_high_charts/issues/223.
@michelson could you have a look at this PR or https://github.com/michelson/lazy_high_charts/pull/224 please?