From b3cb1dbe5e17f1af0963f064d7f06a288e93e332 Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Wed, 6 Mar 2013 15:35:46 -0500 Subject: [PATCH] Fix tag colors in the items pane in XPI builds --- chrome/content/zotero/xpcom/data/tags.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/chrome/content/zotero/xpcom/data/tags.js b/chrome/content/zotero/xpcom/data/tags.js index e78f4ff34..b0f1ed032 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();