MediaWiki:Gadget-ToggleSidebar.js: Difference between revisions
Jump to navigation
Jump to search
Want an adless experience? Log in or Create an account.
(addPortletLink -> mw.util.addPortletLink) |
(addOnloadHook -> jQuery) |
||
Line 27: | Line 27: | ||
// Only activate on Vector skin | // Only activate on Vector skin | ||
if(skin == "vector") { | if(skin == "vector") { | ||
jQuery(function() { | |||
// Change this if you want to show the sidebar by default | // Change this if you want to show the sidebar by default | ||
sidebarShow(); | sidebarShow(); | ||
}); | }); | ||
} | } |