From 7d9241a33d5bd7b53ba6204db20130b5a4b4124e Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Sun, 24 Oct 2010 17:11:38 +0000 Subject: [PATCH] New: use jQuery mobile for smartphone menu --- htdocs/includes/menus/smartphone/iphone.lib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/includes/menus/smartphone/iphone.lib.php b/htdocs/includes/menus/smartphone/iphone.lib.php index 78d3fe94d25..b7bd792bf65 100644 --- a/htdocs/includes/menus/smartphone/iphone.lib.php +++ b/htdocs/includes/menus/smartphone/iphone.lib.php @@ -100,7 +100,7 @@ function print_iphone_menu($db,$atarget,$type_user) //if (empty($menus[$j+1]['level'])) print print_end_menu_entry(); } - if ($menus[$j]['level'] == 1) + if ($menus[$j]['level'] > 0) { if ($menus[$j-1]['level'] == 0) print '