We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3a7c1bc commit dc68913Copy full SHA for dc68913
ui/jquery.ui.menu.js
@@ -422,10 +422,7 @@ $.widget( "ui.menu", {
422
_open: function( submenu ) {
423
var position = $.extend({
424
of: this.active
425
- }, $.type( this.options.position ) === "function" ?
426
- this.options.position( this.active ) :
427
- this.options.position
428
- );
+ }, this.options.position );
429
430
clearTimeout( this.timer );
431
this.element.find( ".ui-menu" ).not( submenu.parents( ".ui-menu" ) )
0 commit comments