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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user