1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-01-06 14:14:13 +01:00

Fix brokenness.

This commit is contained in:
Kris Maglione
2015-02-22 19:49:29 -08:00
parent 1ee5668cac
commit 65f2cda381
5 changed files with 15 additions and 11 deletions

View File

@@ -201,9 +201,11 @@ var Sanitizer = Module("sanitizer", XPCOM([Ci.nsIObserver, Ci.nsISupportsWeakRef
["column", { flex: "1" }],
["column", { flex: "1" }]],
["rows", {},
template.map(util.range(0, Math.ceil(items.length / 2)), i =>
template.map(util.range(0, Math.ceil(items.length / 2)),
i =>
["row", {},
template.map(items.slice(i * 2, i * 2 + 2), item =>
template.map(items.slice(i * 2, i * 2 + 2),
item =>
["checkbox", { xmlns: XUL, label: item.description, preference: branch + item.name }])])]]]
}
});