mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-29 03:22:27 +01:00
Fix a slight bug in lazy highlight group loading.
This commit is contained in:
@@ -83,7 +83,7 @@ const Highlights = Module("Highlight", {
|
||||
if (old && old.value != old.default)
|
||||
obj.value = old.value;
|
||||
|
||||
if (!old && obj.base && obj.base.enabled)
|
||||
if (!old && obj.base && obj.base.style.enabled)
|
||||
obj.style.enabled = true;
|
||||
else
|
||||
this.loaded.__defineSetter__(obj.class, function () {
|
||||
|
||||
Reference in New Issue
Block a user