mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-23 11:27:58 +01:00
Moved the template class to its own file, along with some related functions from util.js
This commit is contained in:
@@ -958,7 +958,7 @@ liberator.Options = function () //{{{
|
||||
}
|
||||
else
|
||||
{
|
||||
option.value = <>={liberator.util.colorize(opt.value, false)}</>;
|
||||
option.value = <>={liberator.template.highlight(opt.value)}</>;
|
||||
}
|
||||
yield option;
|
||||
}
|
||||
@@ -989,7 +989,7 @@ liberator.Options = function () //{{{
|
||||
let option = {
|
||||
isDefault: !userValue,
|
||||
default: loadPreference(pref, null, true),
|
||||
value: <>={liberator.util.colorize(value, false)}</>,
|
||||
value: <>={liberator.template.highlight(value)}</>,
|
||||
name: pref,
|
||||
pre: " ", /* Unicode nonbreaking space. */
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user