mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/MultimediaViewer
synced 2024-09-24 10:49:40 +00:00
Merge "Use improvements of jQuery 3.3"
This commit is contained in:
commit
a0f3ccba4e
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue