Fixed wrong header in photo-view
This commit is contained in:
parent
a0c1dcce9d
commit
c26b4e4399
@ -53,12 +53,11 @@ view = {
|
|||||||
|
|
||||||
var albumID = album.getID();
|
var albumID = album.getID();
|
||||||
|
|
||||||
lychee.header.removeClass("view");
|
|
||||||
|
|
||||||
switch (mode) {
|
switch (mode) {
|
||||||
|
|
||||||
case "albums":
|
case "albums":
|
||||||
|
|
||||||
|
lychee.header.removeClass("view");
|
||||||
$("#tools_album, #tools_photo").hide();
|
$("#tools_album, #tools_photo").hide();
|
||||||
$("#tools_albums").show();
|
$("#tools_albums").show();
|
||||||
|
|
||||||
@ -66,6 +65,7 @@ view = {
|
|||||||
|
|
||||||
case "album":
|
case "album":
|
||||||
|
|
||||||
|
lychee.header.removeClass("view");
|
||||||
$("#tools_albums, #tools_photo").hide();
|
$("#tools_albums, #tools_photo").hide();
|
||||||
$("#tools_album").show();
|
$("#tools_album").show();
|
||||||
|
|
||||||
@ -84,6 +84,7 @@ view = {
|
|||||||
|
|
||||||
case "photo":
|
case "photo":
|
||||||
|
|
||||||
|
lychee.header.addClass("view");
|
||||||
$("#tools_albums, #tools_album").hide();
|
$("#tools_albums, #tools_album").hide();
|
||||||
$("#tools_photo").show();
|
$("#tools_photo").show();
|
||||||
|
|
||||||
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user