diff --git a/chrome/content/zotero/overlay.js b/chrome/content/zotero/overlay.js index 3dc7af92c..66ec4b29f 100644 --- a/chrome/content/zotero/overlay.js +++ b/chrome/content/zotero/overlay.js @@ -866,7 +866,7 @@ var ZoteroPane = new function() while (true) { // Don't show "Rename associated file" option for // linked URLs - if (linkMode = item.ref.getAttachmentLinkMode() == + if (item.ref.getAttachmentLinkMode() == Zotero.Attachments.LINK_MODE_LINKED_URL) { var result = nsIPS.prompt( window,