Web
Analytics
Join the HITS Discord and leave your suggestions for this wiki, talk about your edits, or just chat with fellow Tally Hall fans!

Difference between revisions of "MediaWiki:Common.js"

Jump to navigation Jump to search
testing
(replaced CD05_div by Object)
(testing)
Line 115: Line 115:
  */
  */
   
   
const CD05 = document.getElementById("mw-customcollapsible-2005CD");
var CD05 = document.getElementById("mw-customcollapsible-2005CD");
if (CD05.hasAttribute("mw-collapsed")) {
if (CD05.hasAttribute("mw-collapsed")) {
var Object = getElementById('2005CD');
        var CD05div = document.getElementsById('2005CD')[0];  
Object.setAttribute("2005CD", "2005CD-clicked");
        CD05div.id = '2005CD-unclicked';
}
}

Navigation menu