Fixed sharing information in photo infobox

This commit is contained in:
Tobias Reich 2015-02-28 21:38:25 +01:00
parent e7cb1b1c77
commit d7ba8b127b
2 changed files with 2 additions and 2 deletions

BIN
dist/main.js vendored

Binary file not shown.

View File

@ -390,13 +390,13 @@ view.photo = {
$('#button_share') $('#button_share')
.addClass('active') .addClass('active')
.attr('title', 'Share Photo'); .attr('title', 'Share Photo');
if (photo.json.init) $('#infobox .attr_visibility').html('Public'); if (photo.json.init) $('#infobox .attr_public').html('Yes');
} else { } else {
// Photo private // Photo private
$('#button_share') $('#button_share')
.removeClass('active') .removeClass('active')
.attr('title', 'Make Public'); .attr('title', 'Make Public');
if (photo.json.init) $('#infobox .attr_visibility').html('Private'); if (photo.json.init) $('#infobox .attr_public').html('No');
} }
}, },