From 5fd75eebf1df98236747ee7d61675dde0b4b588b Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Fri, 18 Feb 2011 01:44:46 +0100 Subject: Simplify the menu by introducing a third level (closes #226) --- static/js/ishtar.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'static/js') diff --git a/static/js/ishtar.js b/static/js/ishtar.js index 174e56f0b..131a220c9 100644 --- a/static/js/ishtar.js +++ b/static/js/ishtar.js @@ -25,8 +25,8 @@ beforeSend: function(xhr, settings) { $(document).ready(function(){ - $("#main_menu ul ul").hide(); - $("#main_menu ul ul .selected").parent().show(); + $("#main_menu > ul > li > ul").hide(); + $("#main_menu ul ul .selected").parents().show(); var items = new Array('file', 'operation'); $("#current_file").change(function(){ $.post('/' + url_path + 'update-current-item/', -- cgit v1.2.3