Removed outdated first album check

This commit is contained in:
Tobias Reich 2016-03-24 18:23:33 +01:00
parent c6d8b5f312
commit 50086cfe69

View File

@ -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)