MediaWiki:Gadget-MenuToTabs.js: Difference between revisions
Jump to navigation
Jump to search
Want an adless experience? Log in or Create an account.
mNo edit summary |
mNo edit summary |
||
Line 5: | Line 5: | ||
.addClass( 'vector-menu-tabs vectorTabs' ) | .addClass( 'vector-menu-tabs vectorTabs' ) | ||
.css( 'margin-left', '0.5em' ) | .css( 'margin-left', '0.5em' ) | ||
.find( 'vector-menu-checkbox' ) | .find( '.vector-menu-checkbox' ) | ||
.remove(); | .remove(); | ||
} | } | ||
}); | }); |
Latest revision as of 20:13, April 18, 2021
$( function() { if ( mw.config.get( 'skin' ) == 'vector' ) { $( '#p-cactions' ) .removeClass( 'vector-menu-dropdown vectorMenu' ) .addClass( 'vector-menu-tabs vectorTabs' ) .css( 'margin-left', '0.5em' ) .find( '.vector-menu-checkbox' ) .remove(); } });