check the right type variable
This commit is contained in:
parent
f7e6843d68
commit
9e3f4576d2
1 changed files with 1 additions and 1 deletions
|
@ -1016,7 +1016,7 @@ Zotero.Translate.prototype._generateSandbox = function() {
|
|||
translation.setHandler(arg1,
|
||||
function(obj, item) {
|
||||
try {
|
||||
if(Zotero.isFx4 && (me.type == "web" || me.type == "search")) {
|
||||
if(Zotero.isFx4 && (type == "web" || type == "search")) {
|
||||
// item is wrapped in an XPCCrossOriginWrapper that we can't get rid of
|
||||
// except by making a deep copy. seems to be due to
|
||||
// https://bugzilla.mozilla.org/show_bug.cgi?id=580128
|
||||
|
|
Loading…
Reference in a new issue