]> source.dussan.org Git - jquery-ui.git/commitdiff
Menu: Cleanup
authorjzaefferer <joern.zaefferer@gmail.com>
Mon, 28 Feb 2011 21:38:06 +0000 (22:38 +0100)
committerjzaefferer <joern.zaefferer@gmail.com>
Mon, 28 Feb 2011 21:38:06 +0000 (22:38 +0100)
ui/jquery.ui.menu.js

index 5bdb2bf7a25bc641b1fdca4aa07553f5c9e80654..cd07b64180db70c9bd3c0af9d151b64fcdd67007 100644 (file)
@@ -239,9 +239,6 @@ $.widget("ui.menu", {
        },
 
        _open: function(submenu) {
-               // TODO restrict to widget
-               //only one menu can have items open at a time.
-               //$(document).find(".ui-menu").not(submenu.parents()).hide().data("menu").blur();
                this.element.find(".ui-menu").not(submenu.parents()).hide();
                
                var position = $.extend({}, {