commit 13958bfabaa8854c6f25907e2d16592a2eb2e641
parent cb7640a96a2ff19ba8f6e2526954f3b888f0f357
Author: Simon Kornblith <simon@simonster.com>
Date: Sun, 29 Jul 2012 19:54:38 -0400
Revert "ZU.xpath tweak for IE"
This reverts commit cb7640a96a2ff19ba8f6e2526954f3b888f0f357.
Diffstat:
1 file changed, 0 insertions(+), 5 deletions(-)
diff --git a/chrome/content/zotero/xpcom/utilities.js b/chrome/content/zotero/xpcom/utilities.js
@@ -982,11 +982,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) {