Media Grid: don't select `body` with jQuery when instantiating `media.view.UploaderWindow`.
Props ericlewis. See #28965. git-svn-id: https://develop.svn.wordpress.org/trunk@29367 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
a1ce4931a1
commit
e7eca9d99b
|
@ -81,8 +81,8 @@
|
||||||
this.uploader = new media.view.UploaderWindow({
|
this.uploader = new media.view.UploaderWindow({
|
||||||
controller: this,
|
controller: this,
|
||||||
uploader: {
|
uploader: {
|
||||||
dropzone: $('body'),
|
dropzone: document.body,
|
||||||
container: $('body')
|
container: document.body
|
||||||
}
|
}
|
||||||
}).render();
|
}).render();
|
||||||
this.uploader.ready();
|
this.uploader.ready();
|
||||||
|
|
Loading…
Reference in New Issue