Skip to content
Snippets Groups Projects
Commit b0801d18 authored by Gaus Surahman's avatar Gaus Surahman
Browse files

Minor fixes

parent 0e96803b
Branches
Tags 7.x-1.4
No related merge requests found
Pipeline #250516 passed
......@@ -441,7 +441,9 @@ class BlazyImage {
$dim = ['width' => $width, 'height' => $height];
// Funnily $uri is ignored at all core image effects.
if ($style) {
$style->transformDimensions($dim, $uri);
}
// Sometimes they are string, cast them integer to reduce JS logic.
self::toInt($dim, 'width', 'height');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment