From 55ac7a4565f23e584b47076fce84cd9ed3cbb306 Mon Sep 17 00:00:00 2001 From: Mark Jaquith Date: Tue, 4 Dec 2012 05:18:21 +0000 Subject: [PATCH] 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 --- wp-includes/js/media-views.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-includes/js/media-views.js b/wp-includes/js/media-views.js index 372096da1e..670f26d285 100644 --- a/wp-includes/js/media-views.js +++ b/wp-includes/js/media-views.js @@ -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') ); },