From 50086cfe695f1cb2566ce8da8ac6430c24f87ce4 Mon Sep 17 00:00:00 2001 From: Tobias Reich Date: Thu, 24 Mar 2016 18:23:33 +0100 Subject: [PATCH] Removed outdated first album check --- src/scripts/album.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/scripts/album.js b/src/scripts/album.js index 109405f..961e8b1 100644 --- a/src/scripts/album.js +++ b/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)