1
0
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:
Kris Maglione
2011-09-29 21:25:17 -04:00
parent acd13342a4
commit 0cf1151e0a
21 changed files with 813 additions and 716 deletions

View File

@@ -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();