Merge "Use addClass() correctly, otherwise references don't get the 'reference' class"

This commit is contained in:
jenkins-bot 2014-07-03 22:32:31 +00:00 committed by Gerrit Code Review
commit ff7f4e8244

View file

@ -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;