mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-21 17:27:59 +01:00
Automagically grab form charset in ;S.
This commit is contained in:
@@ -903,7 +903,7 @@ var Commands = Module("commands", {
|
||||
|
||||
// we have a validator function
|
||||
if (typeof opt.validator == "function") {
|
||||
if (opt.validator.call(this, arg, quoted) == false) {
|
||||
if (opt.validator(arg, quoted) == false) {
|
||||
fail("Invalid argument for option: " + optname);
|
||||
if (complete) // Always true.
|
||||
complete.highlight(args.completeStart, count - 1, "SPELLCHECK");
|
||||
|
||||
Reference in New Issue
Block a user