Commit 899e4376 authored by Dries's avatar Dries
Browse files

- Patch #964882 by tim.plunkett: Context Links menu stays visible on top of...

- Patch #964882 by tim.plunkett: Context Links menu stays visible on top of Overlay content on iOS devices.
parent 2fb2a33c
......@@ -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);
});
......
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