mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-01-07 23:14:12 +01:00
Fix startup when restoring preferences. Closes issue #291.
This commit is contained in:
@@ -116,6 +116,9 @@ var Highlights = Module("Highlight", {
|
||||
|
||||
if (/^[[>+: ]/.test(args[1]))
|
||||
obj.selector = this.selector(obj.class) + args[1];
|
||||
else if (args[1])
|
||||
obj.selector = this.selector(args[1]);
|
||||
|
||||
if (old && old.value != old.defaultValue)
|
||||
obj.value = old.value;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user