Commits

ariovistus committed 2c492ac

fix candydoc bug: top-level modules don't link

Comments (0)

Files changed (1)

candydoc/explorer.js

             if (!node)
                 node = prev.createChild(path[i], (path.length == i + 1) ? moduleIco : packageIco);
                 
-            if (path.length == i + 1)
-                node.setRef(path[i] + ".html");
         }
+        node.setRef(path[path.length-1] + ".html");
     }
 }