Skip to content

Commit

Permalink
Update media_manager_plus_frontend.php (#36)
Browse files Browse the repository at this point in the history
  • Loading branch information
bloep authored Oct 1, 2020
1 parent ab5ea11 commit 0dc5ddb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/media_manager_plus_frontend.php
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ public static function generatePictureTag($mediatype, $filename, $filenamesByBre

}

$imgtag = ' <img '.(count($classes) > 0 ? 'class="'.implode(' ', $classes).'"' : '').' src="'.$imgSrc.'"'.$imgLazySrc.'srcset="'.$imgSrcSet.'"'.$imgLazySrcSet.' alt="'.self::getAltString($filename).'">'.PHP_EOL;
$imgtag = ' <img '.(count($classes) > 0 ? 'class="'.implode(' ', $classes).'"' : '').' src="'.$imgSrc.'"'.$imgLazySrc.' srcset="'.$imgSrcSet.'"'.$imgLazySrcSet.' alt="'.self::getAltString($filename).'">'.PHP_EOL;

}

Expand Down Expand Up @@ -167,4 +167,4 @@ private static function getFilenamesByBreakpoints($filename, $filenamesByBreakpo
return $filenames;
}
}
?>
?>

0 comments on commit 0dc5ddb

Please sign in to comment.