resources/src/js/zotero.js
// when clicking the link button to copy the link
when clicking the link button to copy the link
when clicking the link button to copy the link
function itemDocLinkClicked(node) {
	console.log('item document link clicked: ' + node);
	link = createDocumentLink(node);
	if (link) {
	    console.log('copying link : ' + link);
	    setClipboardText(link);
	    linkButton = document.getElementById("item-document-link-button");
	    showAlert('Link copied', link, 'success');
	}
    }
function itemDocLinkClicked ( node ) { console . log ( 'item document link clicked: ' + node ) ; link = createDocumentLink ( node ) ; if ( link ) { console . log ( 'copying link : ' + link ) ; setClipboardText ( link ) ; linkButton = document . getElementById ( "item-document-link-button" ) ; showAlert ( 'Link copied' , link , 'success' ) ; } }
when clicking the link button to copy the link
when clicking the link button to copy the link