Changeset 29551
- Timestamp:
- 08/20/2014 05:10:03 PM (11 years ago)
- File:
-
- 1 edited
-
trunk/src/wp-includes/js/media-grid.js (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/js/media-grid.js
r29532 r29551 391 391 392 392 this.title.mode( 'default' ); 393 394 this.options.hasPrevious = this.hasPrevious(); 395 this.options.hasNext = this.hasNext(); 393 this.toggleNav(); 396 394 }, 397 395 … … 501 499 }, 502 500 501 toggleNav: function() { 502 this.$('.left').toggleClass( 'disabled', ! this.hasPrevious() ); 503 this.$('.right').toggleClass( 'disabled', ! this.hasNext() ); 504 }, 505 503 506 /** 504 507 * Rerender the view. … … 511 514 this.content.render(); 512 515 } 513 this.$('.left').toggleClass( 'disabled', ! this.hasPrevious() ); 514 this. $('.right').toggleClass( 'disabled', ! this.hasNext());516 517 this.toggleNav(); 515 518 }, 516 519
Note: See TracChangeset
for help on using the changeset viewer.