Media: Remove unused variable for state attributes. see #21390.
git-svn-id: http://core.svn.wordpress.org/trunk@22786 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
c1467fb68d
commit
f8630d2be3
|
@ -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