Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Selectmenu: removed Position Plugin offset option to fix broken pop-u…

…p functionality
  • Loading branch information...
commit 4e68c526ab464facc56e5b85ca67f4c6648d2f21 1 parent 709f75b
@fnagel fnagel authored
Showing with 2 additions and 4 deletions.
  1. +2 −4 ui/jquery.ui.selectmenu.js
View
6 ui/jquery.ui.selectmenu.js
@@ -217,10 +217,8 @@ $.widget( "ui.selectmenu", {
}
$.extend( this.options.position, {
- my: "left top",
- at: "left top",
- // calculate offset
- offset: "0 " + ( this.menu.offset().top - currentItem.offset().top + ( this.button.outerHeight() - currentItem.outerHeight() ) / 2 )
+ my: "left top" + ( this.menu.offset().top - currentItem.offset().top + ( this.button.outerHeight() - currentItem.outerHeight() ) / 2 ),
+ at: "left top"
});
}
Please sign in to comment.
Something went wrong with that request. Please try again.