mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-30 18:52:30 +01:00
Fix option serialization.
This commit is contained in:
@@ -1359,7 +1359,7 @@ const Options = Module("options", {
|
||||
{
|
||||
command: this.name,
|
||||
literalArg: [opt.type == "boolean" ? (opt.value ? "" : "no") + opt.name
|
||||
: opt.name + "=" + opt.value]
|
||||
: opt.name + "=" + opt.stringify(opt.value)]
|
||||
}
|
||||
for (opt in options)
|
||||
if (!opt.getter && opt.isDefault && (opt.scope & Option.SCOPE_GLOBAL))
|
||||
|
||||
Reference in New Issue
Block a user