www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | Submodules | README | LICENSE

commit 6c6b9c8be246296abcc13f3c9daef5f380830c45
parent f71122e78848847aa5822af78edab1cd8a2a048e
Author: Simon Kornblith <simon@simonster.com>
Date:   Wed, 22 Jun 2011 08:43:44 +0000

Remove unused _dontWrap argument


Diffstat:
Mchrome/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 @@ -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); } }