mirror of
https://github.com/WordPress/WordPress.git
synced 2025-01-23 00:31:28 +01:00
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 );
|
||||
|
||||
if ( current )
|
||||
this.frame.get( previous ).on( 'change:library', this._excludeStateLibrary, this );
|
||||
this.frame.get( current ).on( 'change:library', this._excludeStateLibrary, this );
|
||||
},
|
||||
|
||||
_excludeStateLibrary: function() {
|
||||
|
Loading…
Reference in New Issue
Block a user