diff options
Diffstat (limited to 'ui/menu.js')
-rw-r--r-- | ui/menu.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/menu.js b/ui/menu.js index a096a34a2..479ff5a18 100644 --- a/ui/menu.js +++ b/ui/menu.js @@ -408,7 +408,7 @@ return $.widget( "ui.menu", { offset = item.offset().top - this.activeMenu.offset().top - borderTop - paddingTop; scroll = this.activeMenu.scrollTop(); elementHeight = this.activeMenu.height(); - itemHeight = item.height(); + itemHeight = item.outerHeight(); if ( offset < 0 ) { this.activeMenu.scrollTop( scroll + offset ); |