Media Grid: JSHint fixes.

See #24716. 


git-svn-id: https://develop.svn.wordpress.org/trunk@28998 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Scott Taylor 2014-07-04 05:13:46 +00:00
parent 7438b91f6f
commit d075028201
2 changed files with 6 additions and 5 deletions

View File

@ -1,3 +1,4 @@
/* global _wpMediaViewsL10n, setUserSetting, deleteUserSetting, MediaElementPlayer */
(function($, _, Backbone, wp) {
var media = wp.media, l10n;
@ -94,7 +95,7 @@
_content: function() {
var mode = this.get( 'content' );
if ( mode ) {
this.frame[ 'content' ].render( mode );
this.frame.content.render( mode );
}
}
});
@ -342,7 +343,7 @@
'click .right': 'nextMediaItem'
},
initialize: function( options ) {
initialize: function() {
var self = this;
media.view.Frame.prototype.initialize.apply( this, arguments );

View File

@ -235,7 +235,7 @@ function wp_print_media_templates() {
<input type="checkbox" data-setting="title" {{ '' === getUserSetting( 'hidegridtitle' ) && 'checked' }} />
</label>
<label class="setting">
<span><?php _e( 'Attached to' ); ?></span>
<span><?php _e( 'Uploaded to' ); ?></span>
<input type="checkbox" data-setting="uploadedTo" {{ '' === getUserSetting( 'hidegriduploadedTo' ) && 'checked' }} />
</label>
<label class="setting">