Minor changes.

This commit is contained in:
Lars Jung 2014-12-06 17:06:06 +01:00
parent b8bcadca36
commit e7ce56c252
5 changed files with 11 additions and 30 deletions

View file

@ -69,8 +69,8 @@ modulejs.define('ext/tree', ['_', '$', 'core/settings', 'core/resource', 'core/e
// does it have subfolders?
if (subfolders.length) {
var $ul = $('<ul class="content"/>').appendTo($html),
counter = 0;
var $ul = $('<ul class="content"/>').appendTo($html);
var counter = 0;
_.each(subfolders, function (e) {
counter += 1;
if (counter <= settings.maxSubfolders) {