Skip to content

Commit

Permalink
Lower the limit of folders list size (to 100, 25 for IE) when the nam…
Browse files Browse the repository at this point in the history
…es abbreviation is in action
  • Loading branch information
alecpl committed Oct 10, 2012
1 parent 1ff03fb commit 9bfaf5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion skins/default/functions.js
Original file line number Diff line number Diff line change
Expand Up @@ -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(){
Expand Down

0 comments on commit 9bfaf5f

Please sign in to comment.