Fix tag colors in the items pane in XPI builds

This commit is contained in:
Dan Stillman 2013-03-06 15:35:46 -05:00
parent d9197235d5
commit b3cb1dbe5e

View File

@ -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();