mirror of
https://github.com/zotero/zotero.git
synced 2026-09-21 00:22:44 +00:00
parent
cb7640a96a
commit
13958bfaba
1 changed files with 0 additions and 5 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue