build: Use eslint-config-wikimedia v0.9.0 and make pass
[lhc/web/wiklou.git] / resources / src / mediawiki.rcfilters / ui / mw.rcfilters.ui.SavedLinksListItemWidget.js
index c13c2f7..3882a95 100644 (file)
@@ -1,4 +1,4 @@
-( function ( mw ) {
+( function () {
        /**
         * Quick links menu option widget
         *
@@ -96,7 +96,9 @@
                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 ) );
+}() );