mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-20 00:38:00 +01:00
Fix 'followhints' validation.
This commit is contained in:
@@ -1351,14 +1351,15 @@ var Hints = Module("hints", {
|
|||||||
"number", 0,
|
"number", 0,
|
||||||
{ validator: function (value) value >= 0 });
|
{ validator: function (value) value >= 0 });
|
||||||
|
|
||||||
|
// TODO: shouldn't this be a stringlist or even boolean? --djk
|
||||||
options.add(["followhints", "fh"],
|
options.add(["followhints", "fh"],
|
||||||
"Define the conditions under which selected hints are followed",
|
"Define the conditions under which selected hints are followed",
|
||||||
"number", 0,
|
"number", 0,
|
||||||
{
|
{
|
||||||
values: {
|
values: [
|
||||||
"0": "Follow the first hint as soon as typed text uniquely identifies it. Follow the selected hint on <Return>.",
|
[0, "Follow the first hint as soon as typed text uniquely identifies it. Follow the selected hint on <Return>."],
|
||||||
"1": "Follow the selected hint on <Return>."
|
[1, "Follow the selected hint on <Return>."]
|
||||||
}
|
]
|
||||||
});
|
});
|
||||||
|
|
||||||
options.add(["hintmatching", "hm"],
|
options.add(["hintmatching", "hm"],
|
||||||
|
|||||||
Reference in New Issue
Block a user