From 9222b939ab2ead3a9d0b379e00ad2bbbd8bceb03 Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Wed, 4 May 2022 05:51:11 -0400 Subject: [PATCH] fx-compat: Fix error viewing items `Components.classes["@mozilla.org/network/standard-url;1"]` no longer exists --- chrome/content/zotero/zoteroPane.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/chrome/content/zotero/zoteroPane.js b/chrome/content/zotero/zoteroPane.js index 3168856bde..8b29c93fd1 100644 --- a/chrome/content/zotero/zoteroPane.js +++ b/chrome/content/zotero/zoteroPane.js @@ -4197,8 +4197,6 @@ var ZoteroPane = new function() let item = items[i]; if (item.isRegularItem()) { // Prefer local file attachments - var uri = Components.classes["@mozilla.org/network/standard-url;1"] - .createInstance(Components.interfaces.nsIURI); let attachment = yield item.getBestAttachment(); if (attachment) { yield this.viewAttachment(attachment.id, event);