summaryrefslogtreecommitdiff
path: root/skins/classic/functions.js
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:34:03 +0200
commit9de86aaaa9db6ac3ae36a0ad13fa82a0d02938a1 (patch)
tree3ace867a84937506ae6bb56f178ce425819d67d4 /skins/classic/functions.js
parent0054f7a5bf694ee85ad9423084ab5c3a7aed7426 (diff)
Lower the limit of folders list size (to 100, 25 for IE) when the names abbreviation is in action
Diffstat (limited to 'skins/classic/functions.js')
-rw-r--r--skins/classic/functions.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/skins/classic/functions.js b/skins/classic/functions.js
index 73c43f60f..1742150f3 100644
--- a/skins/classic/functions.js
+++ b/skins/classic/functions.js
@@ -635,7 +635,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(){