Commit 9ab974d0 authored by tim.plunkett's avatar tim.plunkett is deprecated, switched jQuery.fn.on().

parent 2a941c13
......@@ -295,7 +295,7 @@ Drupal.behaviors.viewsUiRenderAddViewButton.attach = function (context, settings
// We use the live binder because the open class on this item will be
// toggled on and off and we want the handler to take effect in the cases
// that the class is present, but not when it isn't.
$('li.add', $menu).live('mouseleave', function (event) {
$('li.add', $menu).on('mouseleave', function (event) {
var $this = $(this);
var $trigger = $this.children('a[href="#"]');
if ($this.children('.action-list').is(':visible')) {
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