Media: Remove unused variable for state attributes. see #21390.
git-svn-id: https://develop.svn.wordpress.org/trunk@22786 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
7e091de398
commit
45f6cf2fb5
@ -1188,13 +1188,13 @@
|
||||
// Add the default states.
|
||||
this.states.add([
|
||||
// Main states.
|
||||
new media.controller.Library( _.defaults({
|
||||
new media.controller.Library({
|
||||
selection: options.selection,
|
||||
library: media.query( options.library ),
|
||||
multiple: this.options.multiple,
|
||||
menu: 'main',
|
||||
toolbar: 'select'
|
||||
}, attributes ) ),
|
||||
}),
|
||||
|
||||
new media.controller.Upload({
|
||||
menu: 'main'
|
||||
|
Loading…
Reference in New Issue
Block a user