Sahre photo now shares view.php link #392
This commit is contained in:
parent
35586fd5f7
commit
47c3139b02
@ -281,8 +281,6 @@ contextMenu.sharePhoto = function(photoID, e) {
|
||||
let link = photo.getViewLink(photoID),
|
||||
iconClass = 'ionicons'
|
||||
|
||||
if (photo.json.public==='2') link = location.href
|
||||
|
||||
let items = [
|
||||
{ type: 'item', title: `<input readonly id="link" value="${ link }">`, fn: () => {}, class: 'noHover' },
|
||||
{ type: 'separator' },
|
||||
|
Loading…
Reference in New Issue
Block a user