mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-02-15 08:25:46 +01:00
More cleanup. Fix some Teledactyl bugginess.
This commit is contained in:
@@ -53,8 +53,8 @@ var Option = Class("Option", {
|
||||
if (extraInfo)
|
||||
this.update(extraInfo);
|
||||
|
||||
if (Set.has(this.modules.config.defaults, this.name))
|
||||
defaultValue = this.modules.config.defaults[this.name];
|
||||
if (Set.has(this.modules.config.optionDefaults, this.name))
|
||||
defaultValue = this.modules.config.optionDefaults[this.name];
|
||||
|
||||
if (defaultValue == null && this.getter)
|
||||
defaultValue = this.getter();
|
||||
|
||||
Reference in New Issue
Block a user