Skip to content

Commit

Permalink
feat: skip lazyload on images with skip-lazy flag
Browse files Browse the repository at this point in the history
  • Loading branch information
selul committed Dec 14, 2019
1 parent b7f67fd commit 4d9219f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inc/app_replacer.php
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ public static function possible_lazyload_flags() {
return self::$ignore_lazyload_strings;
}

self::$possible_src_attributes = apply_filters( 'optml_possible_lazyload_flags', [] );
self::$possible_src_attributes = apply_filters( 'optml_possible_lazyload_flags', [ 'skip-lazy' ] );

return array_merge( self::$possible_src_attributes, [ '<noscript' ] );
}
Expand Down

0 comments on commit 4d9219f

Please sign in to comment.