From 6c6b9c8be246296abcc13f3c9daef5f380830c45 Mon Sep 17 00:00:00 2001 From: Simon Kornblith Date: Wed, 22 Jun 2011 08:43:44 +0000 Subject: [PATCH] Remove unused _dontWrap argument --- chrome/content/zotero/xpcom/utilities.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/chrome/content/zotero/xpcom/utilities.js b/chrome/content/zotero/xpcom/utilities.js index 76e21a9c9d..e899d9f9ce 100644 --- a/chrome/content/zotero/xpcom/utilities.js +++ b/chrome/content/zotero/xpcom/utilities.js @@ -623,7 +623,7 @@ Zotero.Utilities = { * values represent their URIs * @return {element[]} DOM elements matching XPath */ - "xpath":function(elements, xpath, namespaces, _dontWrap) { + "xpath":function(elements, xpath, namespaces) { var nsResolver = null; if(namespaces) { nsResolver = function(prefix) { @@ -661,7 +661,7 @@ Zotero.Utilities = { var newEl; while(newEl = xpathObject.iterateNext()) { // Firefox 5 hack - results.push(Zotero.isFx5 && !_dontWrap ? Zotero.Translate.SandboxManager.Fx5DOMWrapper(newEl) : newEl); + results.push(Zotero.isFx5 ? Zotero.Translate.SandboxManager.Fx5DOMWrapper(newEl) : newEl); } }