Permalink
Browse files

MINOR Selecting parents of nested menu entries by default in LeftAndM…

…ain.Menu.js
  • Loading branch information...
chillu committed Sep 19, 2011
1 parent 7408ba4 commit 443777e789e82c05702ec6260d8b52c08ca2b3bf
Showing with 3 additions and 0 deletions.
  1. +3 −0 admin/javascript/LeftAndMain.Menu.js
@@ -40,6 +40,9 @@
self.toggleClass('collapsed', $(this).hasClass('collapsed'));
});
+ // Select default element (which might reveal children in hidden parents)
+ this.find('li.current').select();
+
this._super();
}
});

0 comments on commit 443777e

Please sign in to comment.