Skip to content

Commit 619f28b

Browse files
author
aFarkas
committed
1.5.0
1 parent 062ad59 commit 619f28b

24 files changed

+26
-26
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#Changelog
22

3-
##upcoming 1.5.0
3+
##1.5.0
44
Breaking change:
55
* the lazysizes.js and lazysizes.min.js files do not register as AMD modules anymore, if you need an AMD module use the new lazysizes-umd.js or lazysizes-umd.min.js file.
66
* lazysizes core:

lazysizes-umd.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@
249249

250250
if(preloadExpand == null){
251251
if(!('expand' in lazySizesConfig)){
252-
lazySizesConfig.expand = docElem.clientHeight > 600 ? docElem.clientWidth > 860 ? 500 : 410 : 359;
252+
lazySizesConfig.expand = docElem.clientHeight > 600 ? docElem.clientWidth > 600 ? 550 : 410 : 359;
253253
}
254254

255255
defaultExpand = lazySizesConfig.expand;

lazysizes-umd.min.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lazysizes.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@
247247

248248
if(preloadExpand == null){
249249
if(!('expand' in lazySizesConfig)){
250-
lazySizesConfig.expand = docElem.clientHeight > 600 ? docElem.clientWidth > 860 ? 500 : 410 : 359;
250+
lazySizesConfig.expand = docElem.clientHeight > 600 ? docElem.clientWidth > 600 ? 550 : 410 : 359;
251251
}
252252

253253
defaultExpand = lazySizesConfig.expand;

0 commit comments

Comments
 (0)