Skip to content

Commit

Permalink
Refs #950; move hiding of more-subset out of list loop
Browse files Browse the repository at this point in the history
  • Loading branch information
ichim-david committed Sep 17, 2015
1 parent 6053718 commit 2fe86b4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Products/CMFPlone/static/patterns/toolbar/src/toolbar.js
Original file line number Diff line number Diff line change
Expand Up @@ -151,10 +151,10 @@ define([
if (!$el.length || $el.prop("tagName") === "NAV") {
$('nav > ul > li', that.$container).each(function(key, element){
$(element).removeClass(that.options.classNames.active);
// we need to close the more subset as well not just the content-menus
// when we click on the body area
$("#plone-toolbar-more-subset").hide();
});
// we need to close the more subset as well not just the content-menus
// when we click on the body area
$("#plone-toolbar-more-subset").hide();
}
});
that.setHeight();
Expand Down

0 comments on commit 2fe86b4

Please sign in to comment.