Skip to content
Permalink
Browse files

Menu: Remove ability to pass a function as the position option.

  • Loading branch information
scottgonzalez committed Jul 10, 2012
1 parent 3a7c1bc commit dc689139ea22dc3341cc1da3df5c7b5f5e907627
Showing with 1 addition and 4 deletions.
  1. +1 −4 ui/jquery.ui.menu.js
@@ -422,10 +422,7 @@ $.widget( "ui.menu", {
_open: function( submenu ) {
var position = $.extend({
of: this.active
}, $.type( this.options.position ) === "function" ?
this.options.position( this.active ) :
this.options.position
);
}, this.options.position );

clearTimeout( this.timer );
this.element.find( ".ui-menu" ).not( submenu.parents( ".ui-menu" ) )

0 comments on commit dc68913

Please sign in to comment.
You can’t perform that action at this time.