Fixed wrong header in photo-view

This commit is contained in:
Tobias Reich 2014-09-20 18:06:03 +02:00
parent a0c1dcce9d
commit c26b4e4399
2 changed files with 4 additions and 3 deletions

View File

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