-( function ( mw ) {
+( function () {
/**
* Quick links menu option widget
*
} ),
new OO.ui.MenuOptionWidget( {
data: 'delete',
- icon: 'close',
+ icon: 'trash',
label: mw.msg( 'rcfilters-savedqueries-remove' )
} ),
new OO.ui.MenuOptionWidget( {
this.$icon.on( { click: this.onDefaultIconClick.bind( this ) } );
// Prevent propagation on mousedown for the save button
// so the menu doesn't close
- this.saveButton.$element.on( { mousedown: function () { return false; } } );
+ this.saveButton.$element.on( { mousedown: function () {
+ return false;
+ } } );
// Initialize
this.toggleDefault( !!this.model.isDefault() );
return this.model.getID();
};
-}( mediaWiki ) );
+}() );