summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2012-10-10 19:34:03 +0200
committerAleksander Machniak <alec@alec.pl>2012-10-10 19:38:05 +0200
commit9bfaf5f070bd62355d9d0b87e87e57c835549ac0 (patch)
tree8e241c9393d1632fe4a6c2228dfb1138c9d1dc53
parent1ff03fb29deb9940cbd14b09a089815d0c1ca2e1 (diff)
Lower the limit of folders list size (to 100, 25 for IE) when the names abbreviation is in action
-rw-r--r--skins/default/functions.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/skins/default/functions.js b/skins/default/functions.js
index 3faf9281f..2db2c5db7 100644
--- a/skins/default/functions.js
+++ b/skins/default/functions.js
@@ -590,7 +590,7 @@ function rcube_render_mailboxlist()
var list = $('#mailboxlist > li a, #mailboxlist ul:visible > li a');
// it's too slow with really big number of folders, especially on IE
- if (list.length > 500 * (bw.ie ? 0.2 : 1))
+ if (list.length > (bw.ie ? 25 : 100))
return;
list.each(function(){