Merge branch 'master' of https://github.com/electerious/Lychee
This commit is contained in:
commit
89a721a222
@ -59,7 +59,7 @@ view = {
|
|||||||
},
|
},
|
||||||
|
|
||||||
mode: function(mode) {
|
mode: function(mode) {
|
||||||
|
|
||||||
var albumID = album.getID();
|
var albumID = album.getID();
|
||||||
|
|
||||||
switch (mode) {
|
switch (mode) {
|
||||||
@ -72,6 +72,7 @@ view = {
|
|||||||
lychee.header.removeClass("view");
|
lychee.header.removeClass("view");
|
||||||
$("#tools_albums, #tools_photo").hide();
|
$("#tools_albums, #tools_photo").hide();
|
||||||
$("#tools_album").show();
|
$("#tools_album").show();
|
||||||
|
album.json.content === false ? $("#button_archive").hide() : $("#button_archive").show();
|
||||||
if (albumID==="s"||albumID==="f") {
|
if (albumID==="s"||albumID==="f") {
|
||||||
$("#button_info_album, #button_trash_album, #button_share_album").hide();
|
$("#button_info_album, #button_trash_album, #button_share_album").hide();
|
||||||
} else if (albumID==="0") {
|
} else if (albumID==="0") {
|
||||||
|
Loading…
Reference in New Issue
Block a user