From 5143b7f672bc668963cce7dcf5dd4e2970aad8e5 Mon Sep 17 00:00:00 2001 From: Kris Borchers Date: Thu, 27 Dec 2012 21:06:06 -0600 Subject: [PATCH] Create mouseHandled flag per instance instead of globally. Fixes #8866 - Menu: select event not firing due to mouseHandled flag reset bug --- ui/jquery.ui.menu.js | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/ui/jquery.ui.menu.js b/ui/jquery.ui.menu.js index 8d99272d0..3c445eca1 100644 --- a/ui/jquery.ui.menu.js +++ b/ui/jquery.ui.menu.js @@ -15,8 +15,6 @@ */ (function( $, undefined ) { -var mouseHandled = false; - $.widget( "ui.menu", { version: "@VERSION", defaultElement: "