1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-21 20:07:59 +01:00

Added n and N commands

This commit is contained in:
Martin Stubenschrott
2007-04-17 20:07:56 +00:00
parent d80bc4666a
commit 277eaa6eb9
5 changed files with 34 additions and 11 deletions

View File

@@ -245,7 +245,7 @@ function hit_a_hint()
}
/* removes all visible hints from doc
* or from current document, if doc == null
* or from current document, if win == null
*/
function removeHints(win)
{
@@ -253,7 +253,7 @@ function hit_a_hint()
win = window._content;
var doc = win.document;
var res = doc.evaluate("//HINTS/SPAN", doc, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE , null);
var res = doc.evaluate("//HINTS/SPAN", doc, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
var elem, i;
for (i = 0; i < res.snapshotLength; i++)