Fix a typo in media-views.js that referenced frame.router.get() instead of frame.router. Fixes #22710

git-svn-id: http://core.svn.wordpress.org/trunk@23015 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Mark Jaquith 2012-12-04 05:18:21 +00:00
parent a052c19497
commit 55ac7a4565

View File

@ -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') );
},