Changeset 23268
- Timestamp:
- 01/04/2013 08:01:04 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3.5/wp-includes/js/media-views.js
r23164 r23268 523 523 mode = frame.content.mode(); 524 524 525 if ( this.active && ! selection.length && ! router.get( mode ) ) 525 // If the state is active, no items are selected, and the current 526 // content mode is not an option in the state's router (provided 527 // the state has a router), reset the content mode to the default. 528 if ( this.active && ! selection.length && router && ! router.get( mode ) ) 526 529 this.frame.content.render( this.get('content') ); 527 530 },
Note: See TracChangeset
for help on using the changeset viewer.