Skip to content
Permalink
Browse files

Menu: Fixed variable name.

  • Loading branch information...
scottgonzalez committed May 11, 2011
1 parent 24864de commit b70256c368096d440b58a60280a2478c0b579ae9
Showing with 2 additions and 2 deletions.
  1. +2 −2 ui/jquery.ui.menu.js
@@ -237,8 +237,8 @@ $.widget("ui.menu", {

if ( this._hasScroll() ) {
var borderTop = parseFloat( $.curCSS( this.element[0], "borderTopWidth", true) ) || 0,
paddingtop = parseFloat( $.curCSS( this.element[0], "paddingTop", true) ) || 0,
offset = item.offset().top - this.element.offset().top - borderTop - paddingtop,
paddingTop = parseFloat( $.curCSS( this.element[0], "paddingTop", true) ) || 0,
offset = item.offset().top - this.element.offset().top - borderTop - paddingTop,
scroll = this.element.scrollTop(),
elementHeight = this.element.height(),
itemHeight = item.height();

0 comments on commit b70256c

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