1
0
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:
Doug Kearns
2014-02-26 00:41:36 +11:00
parent 4cb9271074
commit 05b8f2e7f9

View File

@@ -1351,14 +1351,15 @@ var Hints = Module("hints", {
"number", 0,
{ validator: function (value) value >= 0 });
// TODO: shouldn't this be a stringlist or even boolean? --djk
options.add(["followhints", "fh"],
"Define the conditions under which selected hints are followed",
"number", 0,
{
values: {
"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>."
}
values: [
[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>."]
]
});
options.add(["hintmatching", "hm"],