Skip to content

Commit

Permalink
Swap load order of javascript and importmap tags so Firefox 115 has w…
Browse files Browse the repository at this point in the history
…orking turbo-rails again
  • Loading branch information
Arie committed Jul 8, 2023
1 parent a0d3ac2 commit ee9825a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/views/layouts/application.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
= stylesheet_link_tag "application", :media => "all"
= stylesheet_link_tag "themes/black", :media => "all"
= content_for(:stripe)
= javascript_importmap_tags("application", shim: false)
= javascript_include_tag "serveme"
= javascript_importmap_tags
= csrf_meta_tags
= render 'shared/google_analytics'
= render 'shared/fullstory'
Expand Down
2 changes: 1 addition & 1 deletion app/views/layouts/rcon.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
= stylesheet_link_tag "application", :media => "all"
= stylesheet_link_tag "themes/black", :media => "all"
= content_for(:stripe)
= javascript_include_tag "serveme"
= javascript_importmap_tags
= javascript_include_tag "serveme"
= csrf_meta_tags
= render 'shared/google_analytics'
%meta{:name => "viewport", :content => "width=device-width, initial-scale=1.0, shrink-to-fit=no"}
Expand Down

0 comments on commit ee9825a

Please sign in to comment.