Skip to content

Commit

Permalink
Fixes #2421
Browse files Browse the repository at this point in the history
  • Loading branch information
scottjehl authored Oct 5, 2022
1 parent e56ced6 commit 413cab9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion www/experiments/lcp.inc
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ if (isset($lcp)) {
"explabel" => array($lcpSource)
];
// priority Hints only help for foreground images
if (!$isBG && !$isVideo && isset($lcp['element']['fetchPriority']) && $lcp['element']['fetchPriority'] != 'high') {
if (!$isBG && !$isVideo && !(isset($lcp['element']['fetchPriority']) && $lcp['element']['fetchPriority'] == 'high')) {
$expsToAdd[] = (object) [
"id" => '011',
'title' => 'Add Priority Hint',
Expand Down

0 comments on commit 413cab9

Please sign in to comment.