Skip to content

Commit

Permalink
Menu: Fixed variable name.
Browse files Browse the repository at this point in the history
  • Loading branch information
scottgonzalez committed May 11, 2011
1 parent 24864de commit b70256c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ui/jquery.ui.menu.js
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -237,8 +237,8 @@ $.widget("ui.menu", {


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

0 comments on commit b70256c

Please sign in to comment.