diff --git a/modules/ext.abuseFilter.edit.js b/modules/ext.abuseFilter.edit.js index c5b0577a4..cc15ec9d8 100644 --- a/modules/ext.abuseFilter.edit.js +++ b/modules/ext.abuseFilter.edit.js @@ -63,9 +63,8 @@ $( '#mw-abusefilter-syntaxresult' ) .show() - .removeClass( 'mw-abusefilter-syntaxresult-ok mw-abusefilter-syntaxresult-error' ) + .attr( 'class', className ) .text( resultText ) - .addClass( className ) .data( 'syntaxOk', syntaxOk ); }