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