Difference between revisions of "MediaWiki:Common.js"

testing
(testing)
Tag: Reverted
(testing)
Tag: Reverted
Line 115: Line 115:
  */
  */
   
   
document.querySelector("#mw-customcollapsible-2005CD"); {
const CD05 = document.getElementById("mw-customcollapsible-2005CD");
  document.querySelector(".mw-collapsed"); {
if (CD05.hasAttribute("collapsed")) {
    document.querySelector(".mw-customtoggle-2005CD").setAttribute('prettybutton-clicked');
  var my_div = getElementById('mw-customcollapsible-2005CD')
my_div.setAttribute("button2005CD", "button2005CD-clicked");
}
}
}