mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-04-14 01:24:27 +00:00
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:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user