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
m
Line 3: Line 3:
   $(this).toggleClass("active")
   $(this).toggleClass("active")
})
})
console.log(mw.config.get('wgIsMainPage'))
console.log(mw.config.get('wgPageName'))

Revision as of 12:19, 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(mw.config.get('wgPageName'))
Cookies help us deliver our services. By using our services, you agree to our use of cookies.