mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-02-26 05:45:53 +01:00
Fix message output when listing styles and there are none.
This commit is contained in:
@@ -336,7 +336,7 @@ var Styles = Module("Styles", {
|
|||||||
</table>;
|
</table>;
|
||||||
|
|
||||||
// TODO: Move this to an ItemList to show this automatically
|
// 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"));
|
dactyl.echomsg(_("style.none"));
|
||||||
else
|
else
|
||||||
commandline.commandOutput(list);
|
commandline.commandOutput(list);
|
||||||
|
|||||||
Reference in New Issue
Block a user