1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-01-09 00:44:12 +01:00

Toggle between values in a list for string/number options with invert.

This commit is contained in:
Kris Maglione
2010-12-17 14:48:46 -05:00
parent 87c2e5624d
commit 754d490a56
4 changed files with 26 additions and 22 deletions

View File

@@ -426,7 +426,7 @@ const Styles = Module("Styles", {
for (let item in Iterator({ Active: true, Inactive: false })) {
let [name, active] = item;
context.fork(name, 0, null, function (context) {
context.title[0] = name + " " + context.title[0];
context.title[0] = name + " Sheets";
context.generate = generate || function () styles.userSheets;
context.filters.push(function (item) item.active == active);
});