Media JS: Use correct variable name when binding to the `change:library` event. see [22477], #21390.
git-svn-id: http://core.svn.wordpress.org/trunk@22478 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
103694aa4f
commit
23b62b3d77
|
@ -440,7 +440,7 @@
|
||||||
this.frame.get( previous ).off( 'change:library', this._excludeStateLibrary, this );
|
this.frame.get( previous ).off( 'change:library', this._excludeStateLibrary, this );
|
||||||
|
|
||||||
if ( current )
|
if ( current )
|
||||||
this.frame.get( previous ).on( 'change:library', this._excludeStateLibrary, this );
|
this.frame.get( current ).on( 'change:library', this._excludeStateLibrary, this );
|
||||||
},
|
},
|
||||||
|
|
||||||
_excludeStateLibrary: function() {
|
_excludeStateLibrary: function() {
|
||||||
|
|
Loading…
Reference in New Issue