mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 17:48:01 +01:00
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:
parent
a052c19497
commit
55ac7a4565
@ -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
Block a user