Browse Source

Fixed empty entry in photo navigation after moving a photo

Tobias Reich 8 years ago
parent
commit
b0300b952a
2 changed files with 1 additions and 1 deletions
  1. 0 0
      dist/main.js
  2. 1 1
      src/scripts/photo.js

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


+ 1 - 1
src/scripts/photo.js

@@ -365,7 +365,7 @@ photo.setAlbum = function(photoIDs, albumID) {
 
 		}
 
-		album.json.content[id] = null
+		delete album.json.content[id]
 		view.album.content.delete(id)
 
 	})

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