mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/AbuseFilter.git
synced 2024-11-27 15:30:42 +00:00
Remove all CSS classes from indicator to avoid collision
When you tested filter against the change (with failure) and then checked the syntax (with success), the new CSS class was overriden by the old one, that's why the red X stayed. Bug: T129753 Change-Id: I34cdba72f0b0e24e97083ba6b47554d0c8b826cf
This commit is contained in:
parent
36e010721b
commit
20c10c8159
|
@ -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 );
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue