Fixed setTitle for albums and photos

This commit is contained in:
Tobias Reich 2014-04-02 22:40:31 +02:00
parent 3bb5511f81
commit 37994b5228
2 changed files with 4 additions and 4 deletions

View File

@ -220,7 +220,7 @@ view = {
lychee.setTitle("Unsorted", false);
break;
default:
if (album.json.init) $("#infobox .attr_name").html(album.json.title + " " + build.editIcon("edit_title_album"));
if (album.json.init) $("#infobox .attr_title").html(album.json.title + " " + build.editIcon("edit_title_album"));
lychee.setTitle(album.json.title, true);
break;
}
@ -397,7 +397,7 @@ view = {
title: function() {
if (photo.json.init) $("#infobox .attr_name").html(photo.json.title + " " + build.editIcon("edit_title"));
if (photo.json.init) $("#infobox .attr_title").html(photo.json.title + " " + build.editIcon("edit_title"));
lychee.setTitle(photo.json.title, true);
},

File diff suppressed because one or more lines are too long