1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-02-14 23:25:45 +01:00

Fix missing ancestor modes in :listkeys, recognize paths like c:/ on Windows®, and elide redundant -group=user in :style serialization.

This commit is contained in:
Kris Maglione
2011-04-24 11:07:10 -04:00
parent 2b30df839f
commit 4166f78b73
4 changed files with 8 additions and 6 deletions

View File

@@ -609,9 +609,8 @@ var Styles = Module("Styles", {
command: "style",
arguments: [style.sites.join(",")],
literalArg: style.css,
options: update({
"-group": hive.name,
},
options: update(
hive.name == "user" ? {} : { "-group": hive.name },
style.name ? { "-name": style.name } : {})
})))
.flatten().array