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

Fix message output when listing styles and there are none.

This commit is contained in:
Doug Kearns
2011-03-06 18:09:21 +11:00
parent 3c1009494b
commit fed14b1b3f

View File

@@ -336,7 +336,7 @@ var Styles = Module("Styles", {
</table>;
// TODO: Move this to an ItemList to show this automatically
if (list.*.length() === list.text().length() + 2)
if (list.*.length() === list.text().length() + 5)
dactyl.echomsg(_("style.none"));
else
commandline.commandOutput(list);