mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-23 07:17:59 +01:00
Add template.listCompleter to list completion results to the MOW.
This commit is contained in:
@@ -965,13 +965,11 @@ function Options() //{{{
|
||||
continue;
|
||||
|
||||
value = options.getPref(pref);
|
||||
if (typeof value == "string")
|
||||
value = value.substr(0, 100).replace(/\n/g, " ");
|
||||
|
||||
let option = {
|
||||
isDefault: !userValue,
|
||||
default: loadPreference(pref, null, true),
|
||||
value: <>={template.highlight(value)}</>,
|
||||
value: <>={template.highlight(value, true, 100)}</>,
|
||||
name: pref,
|
||||
pre: "\u00a0\u00a0" /* Unicode nonbreaking space. */
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user