Skip to content

Commit

Permalink
Critical scope css fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
srsathish92 committed Feb 7, 2020
1 parent ba8fae3 commit f9697f5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app/code/Magento/Theme/Controller/Result/AsyncCssPlugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,9 @@ function ($matches) use (&$cssMatches) {
}
$media = $media ?? 'all';
$loadCssAsync = sprintf(
'<link rel="preload" as="style" media="%s" .
onload="this.onload=null;this.rel=\'stylesheet\'"' .
'href="%s">',
'<link rel="preload" as="style" media="%s"' .
' onload="this.onload=null;this.rel=\'stylesheet\'"' .
' href="%s">',
$media,
$href
);
Expand Down

0 comments on commit f9697f5

Please sign in to comment.