From 899e4376ba61e7862a9075b16fc9ebae141b3637 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Tue, 16 Nov 2010 18:43:06 +0000 Subject: - Patch #964882 by tim.plunkett: Context Links menu stays visible on top of Overlay content on iOS devices. --- modules/contextual/contextual.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/contextual') diff --git a/modules/contextual/contextual.js b/modules/contextual/contextual.js index a7f22b2a6..1314921b8 100644 --- a/modules/contextual/contextual.js +++ b/modules/contextual/contextual.js @@ -24,8 +24,8 @@ Drupal.behaviors.contextualLinks = { function () { $region.addClass('contextual-links-region-active'); }, function () { $region.removeClass('contextual-links-region-active'); } ); - // Hide the contextual links when user rolls out of the .contextual-links-region. - $region.bind('mouseleave', Drupal.contextualLinks.mouseleave); + // Hide the contextual links when user clicks a link or rolls out of the .contextual-links-region. + $region.bind('mouseleave click', Drupal.contextualLinks.mouseleave); // Prepend the trigger. $wrapper.prepend($trigger); }); -- cgit v1.2.3