Sb forum speech.png DiscordLink.png FacebookLink.png RedditLink.png SteamLink.png TwitterLink.png YoutubeLink.png

Difference between revisions of "MediaWiki:Mpfunctions.js"

From Starbase wiki
Jump to navigation Jump to search
m (Protected "MediaWiki:Mpfunctions.js" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)))
m
Line 3: Line 3:
   $(this).toggleClass("active")
   $(this).toggleClass("active")
})
})
console.log(wgIsMainPage)

Revision as of 12:17, 14 July 2021

/* Why do we have to use JQ for this I hate it god MediaWiki you're awful */
$('.MPSSC-list-header').click(function() {
  $(this).toggleClass("active")
})
console.log(wgIsMainPage)
Cookies help us deliver our services. By using our services, you agree to our use of cookies.