diff --git a/lib/ice-coder.js b/lib/ice-coder.js index f0be42a..c9de71e 100644 --- a/lib/ice-coder.js +++ b/lib/ice-coder.js @@ -663,7 +663,7 @@ var ICEcoder = { innerLI = '        '+file+' '+perms+''; // If we don't have at least 3 DOM items in here, it's an empty folder - if(!locNest.childNodes.length<3) { + if(locNest.childNodes.length<3) { // We now need to begin a new UL list newUL = document.createElement("ul"); locNest = targetElem.parentNode.parentNode;