Skip to content

Commit

Permalink
Menu: Good enough
Browse files Browse the repository at this point in the history
  • Loading branch information
jzaefferer committed Oct 28, 2010
1 parent 8959057 commit 9949fa4
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions ui/jquery.ui.menu.js
Expand Up @@ -180,8 +180,7 @@ $.widget("ui.menu", {
this.activate( event, this.element.children(edge)[filter]() ); this.activate( event, this.element.children(edge)[filter]() );
} }
}, },


// TODO merge with previousPage
nextPage: function( event ) { nextPage: function( event ) {
if ( this._hasScroll() ) { if ( this._hasScroll() ) {
if ( !this.active || this.last() ) { if ( !this.active || this.last() ) {
Expand All @@ -203,7 +202,6 @@ $.widget("ui.menu", {
} }
}, },


// TODO merge with nextPage
previousPage: function( event ) { previousPage: function( event ) {
if ( this._hasScroll() ) { if ( this._hasScroll() ) {
if ( !this.active || this.first() ) { if ( !this.active || this.first() ) {
Expand Down

0 comments on commit 9949fa4

Please sign in to comment.