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

MediaWiki:Mpfunctions.js

From Starbase wiki
Revision as of 12:18, 14 July 2021 by DustyFB (talk | contribs)
Jump to navigation Jump to search

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
/* 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(mw.config.get('wgIsMainPage'))
Cookies help us deliver our services. By using our services, you agree to our use of cookies.