if ( errors.length === 0 ) {
// FIXME: Use CSS transition
- // eslint-disable-next-line jquery/no-slide
+ // eslint-disable-next-line no-jquery/no-slide
$errorBox.slideUp( function () {
$errorBox
.removeAttr( 'class' )
.detach();
}
// FIXME: Use CSS transition
- // eslint-disable-next-line jquery/no-slide
+ // eslint-disable-next-line no-jquery/no-slide
$errorBox
.attr( 'class', 'error' )
.empty()
.slideDown();
};
if ( $oldErrorBox !== $errorBox && $oldErrorBox.hasClass( 'error' ) ) {
- // eslint-disable-next-line jquery/no-slide
+ // eslint-disable-next-line no-jquery/no-slide
$oldErrorBox.slideUp( showFunc );
} else {
showFunc();