Media Grid: don't select `body` with jQuery when instantiating `media.view.UploaderWindow`.
Props ericlewis. See #28965. Built from https://develop.svn.wordpress.org/trunk@29367 git-svn-id: http://core.svn.wordpress.org/trunk@29145 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
2d212cbfac
commit
696c12bc55
|
@ -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();
|
||||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue