mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-02-19 05:05:47 +01:00
Add 'spelllang'. Closes issue #530.
This commit is contained in:
@@ -57,6 +57,9 @@ var Option = Class("Option", {
|
||||
if (Set.has(this.modules.config.defaults, this.name))
|
||||
defaultValue = this.modules.config.defaults[this.name];
|
||||
|
||||
if (defaultValue == null && this.getter)
|
||||
defaultValue = this.getter();
|
||||
|
||||
if (defaultValue !== undefined) {
|
||||
if (this.type === "string")
|
||||
defaultValue = Commands.quote(defaultValue);
|
||||
|
||||
Reference in New Issue
Block a user