aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--finder_menu.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/finder_menu.js b/finder_menu.js
index dc41579..f05ae18 100644
--- a/finder_menu.js
+++ b/finder_menu.js
@@ -86,7 +86,6 @@ function ul2finder()
cssjs('add',this,openClass);
cssjs('add',this.parentNode.getElementsByTagName('ul')[0],showClass);
- // TODO: check and fix
// unset window.finderNode for all other nodes that aren't children
children = this.parentNode.childNodes;
refs = document.getElementById('finder').getElementsByTagName('a');
@@ -97,6 +96,7 @@ function ul2finder()
for(var j=0;j<children.lenght;j++) {
if (refs[i] == children[j]) {
found = true;
+ break;
}
}
// TODO: search at parent