diff --git a/chrome/content/zotero/xpcom/translation/translate_firefox.js b/chrome/content/zotero/xpcom/translation/translate_firefox.js index 2206a970e..c8ded6ff0 100644 --- a/chrome/content/zotero/xpcom/translation/translate_firefox.js +++ b/chrome/content/zotero/xpcom/translation/translate_firefox.js @@ -409,7 +409,7 @@ Zotero.Translate.SandboxManager = function(sandboxLocation) { var s = Components.classes["@mozilla.org/xmlextras/xmlserializer;1"] .createInstance(Components.interfaces.nsIDOMSerializer); this.serializeToString = function(doc) { - return s.serializeToString(Zotero.Translate.DOMWrapper.unwrapIfWrapped(doc)); + return s.serializeToString(Zotero.Translate.DOMWrapper.unwrap(doc)); }; }; }