From: Kris Borchers Date: Fri, 28 Dec 2012 03:06:06 +0000 (-0600) Subject: Create mouseHandled flag per instance instead of globally. Fixes #8866 - Menu: select... X-Git-Tag: 1.10.0-rc.1~24 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=5143b7f672bc668963cce7dcf5dd4e2970aad8e5;p=jquery-ui.git Create mouseHandled flag per instance instead of globally. Fixes #8866 - Menu: select event not firing due to mouseHandled flag reset bug --- 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: "