Legoktm has uploaded a new change for review. https://gerrit.wikimedia.org/r/101478
Change subject: JavaScript cleanup ...................................................................... JavaScript cleanup Change-Id: Ib96c8cb37ed140baadbbc80fa4b68f4614d97cda --- M ext.SFS.formhack.js 1 file changed, 10 insertions(+), 10 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/StopForumSpam refs/changes/78/101478/1 diff --git a/ext.SFS.formhack.js b/ext.SFS.formhack.js index ecd61d6..68056f1 100644 --- a/ext.SFS.formhack.js +++ b/ext.SFS.formhack.js @@ -9,21 +9,21 @@ // Back-compat for pre-1.23 $SFSbox = $( '#mw-input-wpSFS' ); if ( $SFSbox.length === 0 ) { - $SFSbox = $('<tr>') - .addClass( 'mw-htmlform-field-HTMLCheckField') + $SFSbox = $( '<tr>' ) + .addClass( 'mw-htmlform-field-HTMLCheckField' ) .append( '<td class="mw-label"><label> </label></td>' ) - .append( $('<td>') - .addClass('mw-input') - .append('<input name="wpSFS" type="checkbox" value="1" id="mw-input-wpSFS" />') - .append(' ') - .append( $('<label>') - .attr('for', 'mw-input-wpSFS') - .text( mw.message( 'stopforumspam-checkbox').text() ) + .append( $( '<td>' ) + .addClass( 'mw-input' ) + .append( '<input name="wpSFS" type="checkbox" value="1" id="mw-input-wpSFS" />' ) + .append( ' ' ) + .append( $( '<label>' ) + .attr( 'for', 'mw-input-wpSFS' ) + .text( mw.message( 'stopforumspam-checkbox' ).text() ) ) ); } - $( '#mw-input-wpHardBlock' ).closest( 'tr').after( $SFSbox ); + $( '#mw-input-wpHardBlock' ).closest( 'tr' ).after( $SFSbox ); function updateBlockOptions( instant ) { var blocktarget = $.trim( $blockTarget.val() ), -- To view, visit https://gerrit.wikimedia.org/r/101478 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Ib96c8cb37ed140baadbbc80fa4b68f4614d97cda Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/StopForumSpam Gerrit-Branch: master Gerrit-Owner: Legoktm <legoktm.wikipe...@gmail.com> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits