mirror of
https://github.com/WordPress/WordPress.git
synced 2025-03-30 20:08:34 +00:00
Media: Ensure Attachments.mirror returns true. see #21390.
git-svn-id: http://core.svn.wordpress.org/trunk@22753 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
07a0349e2c
commit
1a3e06ddd5
@ -425,7 +425,7 @@ window.wp = window.wp || {};
|
|||||||
|
|
||||||
mirror: function( attachments ) {
|
mirror: function( attachments ) {
|
||||||
if ( this.mirroring && this.mirroring === attachments )
|
if ( this.mirroring && this.mirroring === attachments )
|
||||||
return;
|
return this;
|
||||||
|
|
||||||
this.unmirror();
|
this.unmirror();
|
||||||
this.mirroring = attachments;
|
this.mirroring = attachments;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user