Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
97507494
Commit
97507494
authored
Dec 01, 2012
by
webchick
Browse files
Issue
#1855088
by benjifisher: Fixed Make comment in toolbar.js match the code.
parent
cd5a483b
Changes
1
Hide whitespace changes
Inline
Side-by-side
core/modules/toolbar/js/toolbar.menu.js
View file @
97507494
...
...
@@ -31,7 +31,7 @@ var activeItem = JSON.parse(localStorage.getItem('Drupal.toolbar.menu.activeItem
var
$item
=
$toggle
.
closest
(
'
li
'
);
// Toggle the list item.
toggleList
(
$item
);
// Close open sibling
s and their open children
.
// Close open sibling
menus
.
var
$openItems
=
$item
.
siblings
().
filter
(
'
.open
'
);
toggleList
(
$openItems
,
false
);
// Save link of the closest open item through a unique selector.
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment