1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-02-09 06:15:45 +01:00

Fix RangeFind corner case.

This commit is contained in:
Kris Maglione
2010-12-21 20:14:40 -05:00
parent 9511624649
commit 198a321c59
3 changed files with 7 additions and 4 deletions

View File

@@ -385,7 +385,7 @@ const Styles = Module("Styles", {
bang: true,
literalArg: sty.css,
options: sty.name ? { "-name": sty.name } : {}
} for ([k, sty] in Iterator(styles.userSheets))
} for ([k, sty] in Iterator(styles.userSheets.slice().sort(function (a, b) String.localeCompare(a.name || "", b.name || ""))))
]
});