Update to drupal 8.0.0-rc1. For more information, see https://www.drupal.org/node/2582663
This commit is contained in:
parent
eb34d130a8
commit
f32e58e4b1
8476 changed files with 211648 additions and 170042 deletions
|
@ -157,15 +157,15 @@
|
|||
}
|
||||
}
|
||||
|
||||
// Bind event handlers.
|
||||
$(document)
|
||||
.on('click.toolbar', '.toolbar-box', toggleClickHandler)
|
||||
.on('click.toolbar', '.toolbar-box a', linkClickHandler);
|
||||
|
||||
// Return the jQuery object.
|
||||
return this.each(function (selector) {
|
||||
var $menu = $(this).once('toolbar-menu');
|
||||
if ($menu.length) {
|
||||
// Bind event handlers.
|
||||
$menu
|
||||
.on('click.toolbar', '.toolbar-box', toggleClickHandler)
|
||||
.on('click.toolbar', '.toolbar-box a', linkClickHandler);
|
||||
|
||||
$menu.addClass('root');
|
||||
initItems($menu);
|
||||
markListLevels($menu);
|
||||
|
|
Reference in a new issue