diff options
-rw-r--r-- | finder_menu.js | 2 | ||||
-rw-r--r-- | finder_menu.module | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/finder_menu.js b/finder_menu.js index 0021cc6..378e743 100644 --- a/finder_menu.js +++ b/finder_menu.js @@ -51,7 +51,7 @@ function ul2finder() // setup the link
ref = lis[i].getElementsByTagName('a')[0];
- ref.id = 'finder[' + i + ']';
+ ref.id = 'finder-' + i;
window.finderOpened[ref.id] = false;
// if the user clicks on the link
diff --git a/finder_menu.module b/finder_menu.module index 4a05f17..a372112 100644 --- a/finder_menu.module +++ b/finder_menu.module @@ -167,7 +167,7 @@ function finder_menu_build($menu, $id, $class, &$level = NULL) { $level = 0; } else { - $output = '<ul id="'. $id .'[ul]['. $level .']" class="'. $class .'">'; + $output = '<ul id="'. $id .'-ul-'. $level .'" class="'. $class .'">'; } foreach ($menu as $menu_item) { |