mirror of
https://github.com/WordPress/WordPress.git
synced 2024-11-04 18:01:42 +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() {
|
refreshContent: function() {
|
||||||
var selection = this.get('selection'),
|
var selection = this.get('selection'),
|
||||||
frame = this.frame,
|
frame = this.frame,
|
||||||
router = frame.router.get(),
|
router = frame.router,
|
||||||
mode = frame.content.mode();
|
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') );
|
this.frame.content.render( this.get('content') );
|
||||||
},
|
},
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user