mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-15 02:23:58 +00:00
Merge "Use addClass() correctly, otherwise references don't get the 'reference' class"
This commit is contained in:
commit
ff7f4e8244
|
@ -25,7 +25,7 @@ ve.ce.MWReferenceNode = function VeCeMWReferenceNode( model, config ) {
|
|||
|
||||
// DOM changes
|
||||
this.$link = this.$( '<a>' ).attr( 'href', '#' );
|
||||
this.$element.addClass( 've-ce-mwReferenceNode', 'reference' ).append( this.$link );
|
||||
this.$element.addClass( 've-ce-mwReferenceNode reference' ).append( this.$link );
|
||||
|
||||
this.index = '';
|
||||
this.internalList = this.model.getDocument().internalList;
|
||||
|
|
Loading…
Reference in a new issue