mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-22 17:27:57 +01:00
speeded up hints display on large sites by factor 2
This commit is contained in:
@@ -167,7 +167,7 @@ vimperator.Buffer = function() //{{{
|
||||
});
|
||||
|
||||
// returns an XPathResult object
|
||||
this.evaluateXPath = function(expression, doc, elem, ordered)
|
||||
this.evaluateXPath = function(expression, doc, elem, asIterator)
|
||||
{
|
||||
if (!doc)
|
||||
doc = window.content.document;
|
||||
@@ -183,7 +183,7 @@ vimperator.Buffer = function() //{{{
|
||||
return null;
|
||||
}
|
||||
},
|
||||
ordered ? XPathResult.ORDERED_NODE_SNAPSHOT_TYPE : XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE,
|
||||
asIterator ? XPathResult.UNORDERED_NODE_ITERATOR_TYPE : XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE,
|
||||
null
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user