Browse Source

From ' to "

Tobias Reich 9 years ago
parent
commit
32bd3ffefb
1 changed files with 3 additions and 3 deletions
  1. 3 3
      src/scripts/photo.js

+ 3 - 3
src/scripts/photo.js

@@ -550,7 +550,7 @@ photo = {
 		// Size can be 'big, medium, small'
 		// Default is big
 		// Small is centered in the middle of the screen
-		var size = 'big',
+		var size = "big",
 			scaled = false,
 			hasMedium = photo.json.medium!=="",
 			pixelRatio = window.devicePixelRatio,
@@ -573,13 +573,13 @@ photo = {
 		// Medium available and
 		// Medium still bigger than screen
 		if (hasMedium===true&&
-			(1920>view.width&&1080>view.height)) size = 'medium';
+			(1920>view.width&&1080>view.height)) size = "medium";
 
 		// Photo not scaled
 		// Photo smaller then screen
 		if (scaled===false&&
 			(photo.json.width<view.width&&
-			photo.json.width<view.height)) size = 'small';
+			photo.json.width<view.height)) size = "small";
 
 		return size;