Browse Source

Fixed a bug where EXIF data was displayed even when empty

Tobias Reich 10 years ago
parent
commit
c5977e95ef
3 changed files with 1 additions and 1 deletions
  1. 1 1
      assets/js/build.js
  2. 0 0
      assets/min/main.js
  3. 0 0
      assets/min/view.js

+ 1 - 1
assets/js/build.js

@@ -312,7 +312,7 @@ build = {
 			["Tags", build.tags(photoJSON.tags, forView)]
 		];
 
-		if ((photoJSON.takedate+photoJSON.make+photoJSON.model+photoJSON.shutter+photoJSON.aperture+photoJSON.focal+photoJSON.iso)!="") {
+		if ((photoJSON.takestamp+photoJSON.make+photoJSON.model+photoJSON.shutter+photoJSON.aperture+photoJSON.focal+photoJSON.iso)!=="null") {
 
 			infos = infos.concat([
 				["", "Camera"],

File diff suppressed because it is too large
+ 0 - 0
assets/min/main.js


File diff suppressed because it is too large
+ 0 - 0
assets/min/view.js


Some files were not shown because too many files changed in this diff