commit 36871467b678ba5e3c262594f84297d0cd0f6507
parent fef0970dcef744d0a424351f8bd0bb6feaceae01
Author: Simon Kornblith <simon@simonster.com>
Date: Sun, 29 Jul 2012 21:28:33 -0400
Merge branch '3.0'
Diffstat:
1 file changed, 0 insertions(+), 5 deletions(-)
diff --git a/chrome/content/zotero/xpcom/utilities.js b/chrome/content/zotero/xpcom/utilities.js
@@ -975,11 +975,6 @@ Zotero.Utilities = {
}
try {
- if(!rootDoc.evaluate && typeof installXPathIfNecessary !== undefined) {
- // For IE: element.ownerDocument will not have an evaluate property,
- // since this is provided by JavaScript-XPath
- installXPathIfNecessary('defaultView' in rootDoc ? rootDoc.defaultView : rootDoc.parentWindow);
- }
var xpathObject = rootDoc.evaluate(xpath, element, nsResolver, 5, // 5 = ORDERED_NODE_ITERATOR_TYPE
null);
} catch(e) {