Skip to content

Commit

Permalink
Set "as" attribute to stylesheet link tag (#3547)
Browse files Browse the repository at this point in the history
  • Loading branch information
iainbeeston authored Dec 20, 2024
1 parent b99fa99 commit e4aa5e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/layouts/avo/application.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<%= render partial: "avo/partials/branding" %>
<%= render partial: "avo/partials/pre_head" %>
<%= render Avo::AssetManager::StylesheetComponent.new asset_manager: Avo.asset_manager %>
<%= stylesheet_link_tag @stylesheet_assets_path, "data-turbo-track": "reload", defer: true %>
<%= stylesheet_link_tag @stylesheet_assets_path, "data-turbo-track": "reload", defer: true, as: "style" %>
<% if Avo::PACKED %>
<%= javascript_include_tag "/avo-assets/avo.base", "data-turbo-track": "reload", defer: true %>
<% else %>
Expand Down

0 comments on commit e4aa5e5

Please sign in to comment.