diff --git a/chrome/content/zotero/xpcom/data/tags.js b/chrome/content/zotero/xpcom/data/tags.js index e78f4ff344..b0f1ed032b 100644 --- a/chrome/content/zotero/xpcom/data/tags.js +++ b/chrome/content/zotero/xpcom/data/tags.js @@ -744,9 +744,8 @@ Zotero.Tags = new function() { .getService(Components.interfaces["nsIChromeRegistry"]) .convertChromeURL(uri); - let file = uri.QueryInterface(Components.interfaces.nsIFileURL).file; var img = new win.Image(); - img.src = Zotero.File.generateDataURI(file, "image/png"); + img.src = uri.spec; // Mark that we've started loading var deferred = Q.defer();