mirror of
https://github.com/edcommonwealth/sqm-dashboards.git
synced 2026-03-07 21:48:16 -08:00
Remove type from script element
- type, if present, should be a JavaScript MIME type, e.g. application/javascript https://developer.mozilla.org/en-US/docs/Web/HTML/Element/script#attr-type
This commit is contained in:
parent
1e931a6a14
commit
ce892161a4
2 changed files with 4 additions and 4 deletions
|
|
@ -7,8 +7,8 @@
|
|||
<%= stylesheet_link_tag 'welcome', media: 'all', 'data-turbolinks-track': 'reload' %>
|
||||
<%= javascript_include_tag 'application', 'data-turbolinks-track': 'reload' %>
|
||||
<!-- Global site tag (gtag.js) - Google Analytics -->
|
||||
<script async src="https://www.googletagmanager.com/gtag/js?id=<%= @google_analytics_id %>" type="javascript"></script>
|
||||
<script type="javascript">
|
||||
<script async src="https://www.googletagmanager.com/gtag/js?id=<%= @google_analytics_id %>"></script>
|
||||
<script>
|
||||
window.dataLayer = window.dataLayer || [];
|
||||
|
||||
function gtag() {
|
||||
|
|
|
|||
|
|
@ -11,8 +11,8 @@
|
|||
<%= javascript_include_tag 'application', 'data-turbolinks-track': 'reload' %>
|
||||
|
||||
<!-- Global site tag (gtag.js) - Google Analytics -->
|
||||
<script src="https://www.googletagmanager.com/gtag/js?id=<%= @google_analytics_id %>" type="javascript"></script>
|
||||
<script type="javascript">
|
||||
<script src="https://www.googletagmanager.com/gtag/js?id=<%= @google_analytics_id %>"></script>
|
||||
<script>
|
||||
window.dataLayer = window.dataLayer || [];
|
||||
|
||||
function gtag() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue