Commit f945c4cb authored by webchick's avatar webchick
Browse files

Issue #1910008 by jessebeach: Fixed When launching the overlay, a contextual...

Issue #1910008 by jessebeach: Fixed When launching the overlay, a contextual menu remains visible when it should become hidden.
parent b1b0b944
......@@ -61,6 +61,7 @@ Drupal.contextual.prototype.init = function() {
.on('mouseenter.contextual', {highlight: true}, highlightRegion)
.on('mouseleave.contextual', {highlight: false}, highlightRegion)
.on('mouseleave.contextual', '.contextual', {show: false}, $.proxy(this.triggerLeaveHandler, this))
.on('click.contextual', '.contextual-links a', {highlight: false}, highlightRegion)
.on('focus.contextual', '.contextual-links a, .contextual .trigger', {highlight: true}, highlightRegion)
.on('blur.contextual', '.contextual-links a, .contextual .trigger', {highlight: false}, highlightRegion);
};
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment