mirror of
https://github.com/jquery/jquery-ui.git
synced 2025-01-07 20:34:24 +00:00
Menu: Fixed variable name.
This commit is contained in:
parent
24864de57d
commit
b70256c368
4
ui/jquery.ui.menu.js
vendored
4
ui/jquery.ui.menu.js
vendored
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user