JSHint and coding style fixes for xfn.js.
props dougwollison. fixes #26030. git-svn-id: https://develop.svn.wordpress.org/trunk@26174 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
c380f3276a
commit
c137a8979a
@ -7,9 +7,10 @@ jQuery(document).ready( function($) {
|
||||
$( this ).prop( 'disabled', true ).parent().addClass( 'disabled' );
|
||||
} else {
|
||||
$( this ).removeAttr( 'disabled' ).parent().removeClass( 'disabled' );
|
||||
if ( $(this).is(':checked') && $(this).val() != '')
|
||||
if ( $( this ).is( ':checked' ) && $( this ).val() !== '') {
|
||||
inputs += $( this ).val() + ' ';
|
||||
}
|
||||
}
|
||||
});
|
||||
$( '#link_rel' ).val( ( isMe ) ? 'me' : inputs.substr( 0,inputs.length - 1 ) );
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user