summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDoug Kearns <dougkearns@gmail.com>2011-03-06 18:09:21 +1100
committerDoug Kearns <dougkearns@gmail.com>2011-03-06 18:09:21 +1100
commitfed14b1b3f3ada964cfb3f9f51f7fc09e6ef4511 (patch)
tree8ff84b5008e50ca02432eb79a36412cd638bca36
parent3c1009494bcc430f8f79bfe8d3f5e8cf5fef560a (diff)
downloadpentadactyl-fed14b1b3f3ada964cfb3f9f51f7fc09e6ef4511.tar.gz
Fix message output when listing styles and there are none.
-rw-r--r--common/modules/styles.jsm2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/modules/styles.jsm b/common/modules/styles.jsm
index 16c356c1..adfc725c 100644
--- a/common/modules/styles.jsm
+++ b/common/modules/styles.jsm
@@ -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);