Add direct link to context menu

pull/703/head
Michael 7 years ago committed by GitHub
parent 27f207dcba
commit 7deab0fdb9

@ -161,6 +161,7 @@ contextMenu.photo = function(photoID, e) {
// in order to keep the selection
let items = [
{ title: build.iconic('fullscreen-enter') + 'Copy Link', fn: () => window.prompt("Copy to clipboard: Ctrl+C (on PC) Cmd+C (on Mac), Enter", photo.getDirectLink()) },
{ title: build.iconic('star') + 'Star', fn: () => photo.setStar([ photoID ]) },
{ title: build.iconic('tag') + 'Tags', fn: () => photo.editTags([ photoID ]) },
{ },

Loading…
Cancel
Save