Merge pull request #574 from sgmap/fix_turbolinks_in_new_design
Fix turbolinks in new design
This commit is contained in:
commit
fa4ade0872
2 changed files with 2 additions and 2 deletions
|
@ -1,2 +1,2 @@
|
||||||
%data.mj-w-data{ "data-apikey" => "1v5T", "data-base" => "https://app.mailjet.com", "data-height" => "328", "data-lang" => "fr_FR", "data-statics" => "statics", "data-token" => "11c89e7ddb46fbcdcb7f8fe5fdfca818", "data-w-id" => "39b", "data-width" => "640" }
|
%data.mj-w-data{ "data-apikey" => "1v5T", "data-base" => "https://app.mailjet.com", "data-height" => "328", "data-lang" => "fr_FR", "data-statics" => "statics", "data-token" => "11c89e7ddb46fbcdcb7f8fe5fdfca818", "data-w-id" => "39b", "data-width" => "640" }
|
||||||
%script{ src: 'https://app.mailjet.com/statics/js/widget.modal.js' }
|
%script{ src: 'https://app.mailjet.com/statics/js/widget.modal.js', 'data-turbolinks-eval': 'false' }
|
||||||
|
|
|
@ -35,7 +35,7 @@
|
||||||
= render partial: "layouts/mailjet_newsletter"
|
= render partial: "layouts/mailjet_newsletter"
|
||||||
= render partial: "layouts/crisp"
|
= render partial: "layouts/crisp"
|
||||||
|
|
||||||
= javascript_include_tag "new_design/application", "data-turbolinks-track": true
|
= javascript_include_tag "new_design/application", "data-turbolinks-eval": false
|
||||||
= yield :charts_js
|
= yield :charts_js
|
||||||
- if Rails.env == "test"
|
- if Rails.env == "test"
|
||||||
%script{ type: "text/javascript" }
|
%script{ type: "text/javascript" }
|
||||||
|
|
Loading…
Reference in a new issue