mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-24 04:02:25 +01:00
Closes issue #532.
This commit is contained in:
@@ -620,8 +620,9 @@ var HintSession = Class("HintSession", CommandMode, {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
let base = this.hintKeys.length;
|
||||||
for (let [i, hint] in Iterator(this.validHints))
|
for (let [i, hint] in Iterator(this.validHints))
|
||||||
hint.ambiguous = i * this.hintKeys.length < this.validHints.length;
|
hint.ambiguous = (i + 1) * base <= this.validHints.length;
|
||||||
|
|
||||||
if (options["usermode"]) {
|
if (options["usermode"]) {
|
||||||
let css = [];
|
let css = [];
|
||||||
@@ -1240,7 +1241,7 @@ var Hints = Module("hints", {
|
|||||||
|
|
||||||
options.add(["hinttags", "ht"],
|
options.add(["hinttags", "ht"],
|
||||||
"XPath string of hintable elements activated by 'f' and 'F'",
|
"XPath string of hintable elements activated by 'f' and 'F'",
|
||||||
"stringlist", "input:not([type=hidden]),a,area,iframe,textarea,button,select," +
|
"stringlist", "input:not([type=hidden]),a[href],area,iframe,textarea,button,select," +
|
||||||
"[onclick],[onmouseover],[onmousedown],[onmouseup],[oncommand]," +
|
"[onclick],[onmouseover],[onmousedown],[onmouseup],[oncommand]," +
|
||||||
"[tabindex],[role=link],[role=button],[contenteditable=true]",
|
"[tabindex],[role=link],[role=button],[contenteditable=true]",
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user