|
@@ -550,7 +550,7 @@ photo = {
|
|
|
|
|
|
|
|
|
|
|
|
- var size = 'big',
|
|
|
+ var size = "big",
|
|
|
scaled = false,
|
|
|
hasMedium = photo.json.medium!=="",
|
|
|
pixelRatio = window.devicePixelRatio,
|
|
@@ -573,13 +573,13 @@ photo = {
|
|
|
|
|
|
|
|
|
if (hasMedium===true&&
|
|
|
- (1920>view.width&&1080>view.height)) size = 'medium';
|
|
|
+ (1920>view.width&&1080>view.height)) size = "medium";
|
|
|
|
|
|
|
|
|
|
|
|
if (scaled===false&&
|
|
|
(photo.json.width<view.width&&
|
|
|
- photo.json.width<view.height)) size = 'small';
|
|
|
+ photo.json.width<view.height)) size = "small";
|
|
|
|
|
|
return size;
|
|
|
|