Fix a typo in media-views.js that referenced frame.router.get() instead of frame.router. Fixes #22710
git-svn-id: https://develop.svn.wordpress.org/trunk@23015 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
9e665f5355
commit
3c992973bb
|
@ -499,10 +499,10 @@
|
|||
refreshContent: function() {
|
||||
var selection = this.get('selection'),
|
||||
frame = this.frame,
|
||||
router = frame.router.get(),
|
||||
router = frame.router,
|
||||
mode = frame.content.mode();
|
||||
|
||||
if ( this.active&& ! selection.length && ! router.get( mode ) )
|
||||
if ( this.active && ! selection.length && ! router.get( mode ) )
|
||||
this.frame.content.render( this.get('content') );
|
||||
},
|
||||
|
||||
|
|
Loading…
Reference in New Issue