Fix tag colors in the items pane in XPI builds
This commit is contained in:
parent
d9197235d5
commit
b3cb1dbe5e
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue
Block a user