diff options
author | Dries Buytaert <dries@buytaert.net> | 2010-11-16 18:43:06 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2010-11-16 18:43:06 +0000 |
commit | 899e4376ba61e7862a9075b16fc9ebae141b3637 (patch) | |
tree | 7fda31fed5724245f7a9a4d90a794d9e0385c42f /modules/contextual | |
parent | 2fb2a33c8a6b8e860229cd6368a80ad07c0a9a06 (diff) | |
download | brdo-899e4376ba61e7862a9075b16fc9ebae141b3637.tar.gz brdo-899e4376ba61e7862a9075b16fc9ebae141b3637.tar.bz2 |
- Patch #964882 by tim.plunkett: Context Links menu stays visible on top of Overlay content on iOS devices.
Diffstat (limited to 'modules/contextual')
-rw-r--r-- | modules/contextual/contextual.js | 4 |
1 files changed, 2 insertions, 2 deletions
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); }); |