You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ponymail.apache.org by se...@apache.org on 2016/10/27 21:12:25 UTC

incubator-ponymail git commit: No point creating an 'Other lists:' drop-down if it will only contain a single entry - fixes #208

Repository: incubator-ponymail
Updated Branches:
  refs/heads/master 2610e8e96 -> c5755101a


No point creating an 'Other lists:' drop-down if it will only contain a single entry - fixes #208


Project: http://git-wip-us.apache.org/repos/asf/incubator-ponymail/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-ponymail/commit/c5755101
Tree: http://git-wip-us.apache.org/repos/asf/incubator-ponymail/tree/c5755101
Diff: http://git-wip-us.apache.org/repos/asf/incubator-ponymail/diff/c5755101

Branch: refs/heads/master
Commit: c5755101a5ba468a3386bf2759c9194d49169eba
Parents: 2610e8e
Author: Sebb <se...@apache.org>
Authored: Thu Oct 27 22:11:59 2016 +0100
Committer: Sebb <se...@apache.org>
Committed: Thu Oct 27 22:11:59 2016 +0100

----------------------------------------------------------------------
 site/js/dev/ponymail_pagebuilder.js | 2 +-
 site/js/ponymail.js                 | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ponymail/blob/c5755101/site/js/dev/ponymail_pagebuilder.js
----------------------------------------------------------------------
diff --git a/site/js/dev/ponymail_pagebuilder.js b/site/js/dev/ponymail_pagebuilder.js
index 807cb7f..ba6eeb9 100644
--- a/site/js/dev/ponymail_pagebuilder.js
+++ b/site/js/dev/ponymail_pagebuilder.js
@@ -463,7 +463,7 @@ function getListInfo(list, xdomain, nopush) {
 
             var key = listnames[i]
             var collapse = ''
-            if (i >= 4) {
+            if (listnames.length > 5 && i >= 4) {
                 collapse = 'hidden-xs hidden-sm hidden-md hidden-lg'
                 overlaps.push(key)
             }

http://git-wip-us.apache.org/repos/asf/incubator-ponymail/blob/c5755101/site/js/ponymail.js
----------------------------------------------------------------------
diff --git a/site/js/ponymail.js b/site/js/ponymail.js
index bf748d3..db7a850 100644
--- a/site/js/ponymail.js
+++ b/site/js/ponymail.js
@@ -4088,7 +4088,7 @@ function getListInfo(list, xdomain, nopush) {
 
             var key = listnames[i]
             var collapse = ''
-            if (i >= 4) {
+            if (listnames.length > 5 && i >= 4) {
                 collapse = 'hidden-xs hidden-sm hidden-md hidden-lg'
                 overlaps.push(key)
             }