From 9bfaf5f070bd62355d9d0b87e87e57c835549ac0 Mon Sep 17 00:00:00 2001 From: Aleksander Machniak Date: Wed, 10 Oct 2012 19:34:03 +0200 Subject: Lower the limit of folders list size (to 100, 25 for IE) when the names abbreviation is in action --- skins/default/functions.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(){ -- cgit v1.2.3