commit b3cb1dbe5e17f1af0963f064d7f06a288e93e332 parent d9197235d53b8740b4a89fc7aac636da45e64766 Author: Dan Stillman <dstillman@zotero.org> Date: Wed, 6 Mar 2013 15:35:46 -0500 Fix tag colors in the items pane in XPI builds Diffstat:
| M | 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 @@ -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();