mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-24 09:32:28 +01:00
Define option getters to return Optionhints.jsvalues rather than #value.
This commit is contained in:
@@ -698,7 +698,7 @@ const Hints = Module("hints", {
|
||||
if (options.get("hintmatching").has("transliterated"))
|
||||
indexOf = Hints.indexOf;
|
||||
|
||||
switch (options.get("hintmatching").values[0]) {
|
||||
switch (options["hintmatching"][0]) {
|
||||
case "contains" : return containsMatcher(hintString);
|
||||
case "wordstartswith": return wordStartsWithMatcher(hintString, /*allowWordOverleaping=*/ true);
|
||||
case "firstletters" : return wordStartsWithMatcher(hintString, /*allowWordOverleaping=*/ false);
|
||||
|
||||
Reference in New Issue
Block a user