Browse Source

Removed outdated first album check

Tobias Reich 9 years ago
parent
commit
50086cfe69
1 changed files with 0 additions and 3 deletions
  1. 0 3
      src/scripts/album.js

+ 0 - 3
src/scripts/album.js

@@ -116,9 +116,6 @@ album.add = function() {
 
 		api.post('Album::add', params, function(data) {
 
-			// Avoid first album to be true
-			if (data===true) data = 1
-
 			if (data!==false && isNumber(data)) {
 				albums.refresh()
 				lychee.goto(data)