From f945c4cbb74c16c1bd0a56f86f90ddf87f54d099 Mon Sep 17 00:00:00 2001
From: webchick <webchick@24967.no-reply.drupal.org>
Date: Fri, 8 Feb 2013 18:20:51 -0800
Subject: [PATCH] Issue #1910008 by jessebeach: Fixed When launching the
 overlay, a contextual menu remains visible when it should become hidden.

---
 core/modules/contextual/contextual.js | 1 +
 1 file changed, 1 insertion(+)

diff --git a/core/modules/contextual/contextual.js b/core/modules/contextual/contextual.js
index dee63e6d145c..fae84889d15e 100644
--- a/core/modules/contextual/contextual.js
+++ b/core/modules/contextual/contextual.js
@@ -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);
 };
-- 
GitLab