/*!
- * OOUI v0.26.0
+ * OOUI v0.26.4
* https://www.mediawiki.org/wiki/OOUI
*
* Copyright 2011–2018 OOUI Team and other contributors.
* Released under the MIT license
* http://oojs.mit-license.org
*
- * Date: 2018-03-21T00:00:53Z
+ * Date: 2018-04-17T22:23:58Z
*/
( function ( OO ) {
this.$accel = $( '<span>' );
this.$link = $( '<a>' );
this.title = null;
+ this.checkIcon = new OO.ui.IconWidget( {
+ icon: 'check',
+ classes: [ 'oo-ui-tool-checkIcon' ]
+ } );
// Mixin constructors
OO.ui.mixin.IconElement.call( this, config );
} );
this.$link
.addClass( 'oo-ui-tool-link' )
- .append( this.$icon, this.$title, this.$accel )
+ .append( this.checkIcon.$element, this.$icon, this.$title, this.$accel )
.attr( 'role', 'button' );
this.$element
.data( 'oo-ui-tool', this )