Merge "Use improvements of jQuery 3.3"

This commit is contained in:
jenkins-bot 2018-09-23 18:24:41 +00:00 committed by Gerrit Code Review
commit a0f3ccba4e

View file

@ -128,8 +128,7 @@
TTFP.empty = function () {
this.$element.empty();
this.$container
.removeClass( this.options.styles.join( ' ' ) )
.removeClass( 'mw-mmv-ttf-untruncated mw-mmv-ttf-truncated' )
.removeClass( this.options.styles.concat( [ 'mw-mmv-ttf-untruncated', 'mw-mmv-ttf-truncated' ] ) )
.addClass( 'empty' );
this.$ellipsis.hide();
this.setTitle( '', '' );
@ -220,8 +219,7 @@
field = this;
this.$container
.removeClass( this.options.styles.join( ' ' ) )
.removeClass( 'mw-mmv-ttf-untruncated mw-mmv-ttf-truncated' )
.removeClass( this.options.styles.concat( [ 'mw-mmv-ttf-untruncated', 'mw-mmv-ttf-truncated' ] ) )
.addClass( newClass );
this.expanded = false;