Fixed sharing information in photo infobox
This commit is contained in:
parent
e7cb1b1c77
commit
d7ba8b127b
BIN
dist/main.js
vendored
BIN
dist/main.js
vendored
Binary file not shown.
@ -390,13 +390,13 @@ view.photo = {
|
||||
$('#button_share')
|
||||
.addClass('active')
|
||||
.attr('title', 'Share Photo');
|
||||
if (photo.json.init) $('#infobox .attr_visibility').html('Public');
|
||||
if (photo.json.init) $('#infobox .attr_public').html('Yes');
|
||||
} else {
|
||||
// Photo private
|
||||
$('#button_share')
|
||||
.removeClass('active')
|
||||
.attr('title', 'Make Public');
|
||||
if (photo.json.init) $('#infobox .attr_visibility').html('Private');
|
||||
if (photo.json.init) $('#infobox .attr_public').html('No');
|
||||
}
|
||||
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user