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')
|
$('#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');
|
||||||
}
|
}
|
||||||
|
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user