Browse Source

Sahre photo now shares view.php link #392

Tobias Reich 8 years ago
parent
commit
47c3139b02
1 changed files with 0 additions and 2 deletions
  1. 0 2
      src/scripts/contextMenu.js

+ 0 - 2
src/scripts/contextMenu.js

@@ -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' },