aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--finder_menu.js2
-rw-r--r--finder_menu.module4
2 files changed, 3 insertions, 3 deletions
diff --git a/finder_menu.js b/finder_menu.js
index 83c3e25..e6372de 100644
--- a/finder_menu.js
+++ b/finder_menu.js
@@ -114,7 +114,7 @@ function ul2finder()
/*
* isparent
* written by Silvio (s1lv10 at uol.com.br)
- * checks if an element is parent of another via DOM
+ * checks if an element is parent of another via DOM using jQuery
* inspired by http://stackoverflow.com/questions/245241/jquery-ancestors-using-jquery-objects
*/
function isparent(par,child) {
diff --git a/finder_menu.module b/finder_menu.module
index 7191228..0edeecb 100644
--- a/finder_menu.module
+++ b/finder_menu.module
@@ -127,10 +127,10 @@ function finder_menu_build($menu) {
global $finder_menu_id;
if ($finder_menu_id == null) {
- $output = '<ul id="finder">';
+ $output = '<ul id="finder" class="hidden">';
$finder_menu_id = 0;
} else {
- $output = '<ul id="finder[ul][' . $finder_menu_id . ']">';
+ $output = '<ul id="finder[ul][' . $finder_menu_id . ']" class="hidden">';
}
foreach ($menu as $menu_item) {