ponymail-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject incubator-ponymail git commit: No point creating an 'Other lists:' drop-down if it will only contain a single entry - fixes #208
Date Thu, 27 Oct 2016 21:12:25 GMT
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 <sebb@apache.org>
Authored: Thu Oct 27 22:11:59 2016 +0100
Committer: Sebb <sebb@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)
             }


Mime
View raw message