Media JS: Use correct variable name when binding to the change:library
event. see [22477], #21390.
git-svn-id: https://develop.svn.wordpress.org/trunk@22478 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
8f79cdaea4
commit
df931d747d
@ -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
Block a user