Fix jshint errors introduced in [29284] and [29299].
Built from https://develop.svn.wordpress.org/trunk@29306 git-svn-id: http://core.svn.wordpress.org/trunk@29088 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
ab151eca85
commit
9c77f419f6
|
@ -440,7 +440,7 @@
|
|||
shortcode: function( attachments ) {
|
||||
var props = attachments.props.toJSON(),
|
||||
attrs = _.pick( props, 'orderby', 'order' ),
|
||||
shortcode, clone, self = this;
|
||||
shortcode, clone;
|
||||
|
||||
if ( attachments.type ) {
|
||||
attrs.type = attachments.type;
|
||||
|
|
|
@ -170,7 +170,7 @@
|
|||
/**
|
||||
* Open the Edit Attachment modal.
|
||||
*/
|
||||
openEditAttachmentModal: function( model, currentTarget ) {
|
||||
openEditAttachmentModal: function( model ) {
|
||||
// Create a new EditAttachment frame, passing along the library and the attachment model.
|
||||
wp.media( {
|
||||
frame: 'edit-attachments',
|
||||
|
|
Loading…
Reference in New Issue